Commit Graph

728 Commits

Author SHA1 Message Date
01cc52bba9 Allow user updates in create_service_account() calls. 2016-12-14 14:41:06 +01:00
8115bc2ad5 Collections are now named flamenco_xxx instead of flamenco.xxx
The dot notation disallowed Eve hooks, as the collection names weren't
valid Python identifiers.
2016-12-14 14:40:38 +01:00
a100d73a8b Collections in extension eve_settings now should start with the ext name.
Instead of Pillar automagically prepending 'attract.' or 'flamenco.' to the
names this should now be done explicitly in the extension's Eve settings.
This allows for more explicit configuration, and ensures foreign key
definitions are unambiguous.
2016-12-14 11:26:28 +01:00
11197e669c Remove /about endpoint 2016-12-02 18:02:29 +01:00
6bb491aadc Support for page urls
Now we can access pages with the following url
/p/<project_url>/<page-url>. Internally we use the existing view_node,
but if we detect that the node_id is not an object id we try to treat
it as a page url and therefore we try to define node and project using
render_node_page().
2016-12-02 16:57:51 +01:00
b6b517688e Display blog list and posts within the project
TODO: Edit within the project as well
2016-12-01 15:57:59 +01:00
f2942a20fe Refactor manage commands using subcommands
This way we clean up the output of manage.py and sort the commands in
three main categories:
- setup: Setup utilities, like setup_db() or create_blog()
- maintenance:  Maintenance scripts, to update user groups
- operations: Backend operations, like moving nodes across projects
2016-12-01 00:33:24 +01:00
d9b56f485b Extend CHECK_PERMISSIONS_IMPLEMENTED_FOR
We support flamenco.jobs. This is a temporary workaround until we
implement check permissions in a way that can be extended by extensions.
2016-11-30 23:50:21 +01:00
f06b3c94eb join_agent page for the agent project 2016-11-30 23:32:46 +01:00
e72f02711d Temporary tweak to join mechanism
TODO: move this to the external app (blender-cloud).
2016-11-30 15:57:11 +01:00
7fb94a86e8 Display a nice icon on jstree if item is free 2016-11-29 15:35:12 +01:00
3fbee33369 Open jstree folders on load, and set parent as selected as well
So when we open a node inside a folder, it highlights itself and parent folder
2016-11-29 14:39:47 +01:00
4a5d553bc8 No blog on activity stream 2016-11-25 13:32:17 +01:00
f75c43055f Blog on frontpage 2016-11-25 13:32:05 +01:00
f2d9df8b61 Add note about status parsing during the node tree creation 2016-11-25 12:56:41 +01:00
c73ad07e83 Remove whitespaces 2016-11-25 12:45:29 +01:00
a93d9be632 Remove whitespace 2016-11-25 12:43:59 +01:00
1e1d9e57e7 Show description/content of posts/assets 2016-11-24 19:03:43 +01:00
b1a0e1e3b6 Show blog on the tree 2016-11-24 18:14:25 +01:00
6910d3da49 We always include the picture now 2016-11-24 18:14:07 +01:00
b9c3d6b0fb Merge featured assets and blog posts into one activity stream 2016-11-24 18:13:46 +01:00
f99869f57e 10 featured/latest items 2016-11-24 18:12:38 +01:00
85bfbdb5e3 Display 10 comments on frontpage 2016-11-24 18:12:16 +01:00
f1661f7efb Use native scrollbars 2016-11-16 17:48:35 +01:00
24ede3f4ee Include node_type on jstree list item 2016-11-11 17:11:35 +01:00
52a1602a7c Allow overriding whether the user can comment from URL.
Not really secure (user can still post comments via API and by changing the
URL and re-requesting the embedded comment form), but at least normal users
are blocked from commenting this way.
2016-11-11 16:01:56 +01:00
5f0092cfa1 Fixed bug in /u/ where home project group membership was lost after edit.
Rather than understanding the code, I rewrote the editing and added a
unit test for it.
2016-11-11 15:06:29 +01:00
4b84e6506b CLI command to check home project group membership 2016-11-11 15:05:43 +01:00
a13937e500 Log error when unable to update home project 2016-11-11 12:44:47 +01:00
b9e27a4cbf Quote activity verb in log 2016-11-11 08:40:49 +01:00
595a690473 Removed activity 'extra fields', as it wasn't used and half-built. 2016-11-10 09:50:10 +01:00
ab375b2126 Moved node_setattr() from Attract to Pillar 2016-11-09 12:50:30 +01:00
45328b629b Escape html when building jstree 2016-11-08 18:25:23 +01:00
e54bfa4520 Clipboard.js, brought over from Attract, we'll use it here as well 2016-11-08 15:49:47 +01:00
865259d40e pretty_date('some string') now tries to parse the string as datetime.
dateutil.parser.parse('some string') is used for this.
2016-11-08 13:38:36 +01:00
65b554986c pretty_date(None) now returns None 2016-11-08 12:56:19 +01:00
fb6e326a14 Also support future dates and times in pretty_date 2016-11-08 12:24:55 +01:00
920a1de263 No need to format known number 2016-11-08 12:24:55 +01:00
89be4efe6f If day is in the future, just print the time (not empty) 2016-11-07 17:10:41 +01:00
ba591da2fc Store js libraries locally 2016-11-07 12:20:23 +01:00
76174046ad Use our own perfect scrollbar, not cdn 2016-11-04 16:11:04 +01:00
a89ada7c2f Ported yesno Django filter to Jinja2 2016-11-03 18:26:11 +01:00
84a86a690e Gracefully handle replies on comments on deleted nodes. 2016-11-03 17:45:25 +01:00
324d500edb Tweaks to style of file attachments 2016-11-02 19:42:44 +01:00
e43405a349 Fix for empty File field not showing when there are no files
Committing on behalf of Dr. Sybren
2016-11-02 18:43:41 +01:00
f394907dd2 CLI replace_pillar_node_type_schemas: abort when unable to save 2016-11-02 18:20:44 +01:00
e117432f3d CLI replace_pillar_node_type_schemas: allow setting license types on public project nodes. 2016-11-02 18:15:23 +01:00
295c821b9d Simplified code 2016-11-02 17:55:37 +01:00
865f777152 CLI replace_pillar_node_type_schemas: using PILLAR_NAMED_NODE_TYPES 2016-11-02 17:21:50 +01:00
36e7cc56ef Removed colon for easy copy & paste of IDs 2016-11-02 17:21:50 +01:00