Commit Graph

673 Commits

Author SHA1 Message Date
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
aa3340ddbe CLI upgrade_attachment_schema: stop when a node cannot be saved. 2016-11-02 17:21:50 +01:00
4280e0175b CLI upgrade_attachment_schema: only upgrade non-deleted nodes 2016-11-02 17:21:50 +01:00
cc562a9fb1 Fix attachment rendering for nodes without description. 2016-11-02 17:21:50 +01:00
e69393e95e WIP: endpoint for posting new comments without comment list.
We need to determine what happens when such a comment is successfully
posted, as we can't just reload the comment list. In other words, this is
dependent on where we are embedded, and cannot be handled just locally.
2016-11-02 15:40:26 +01:00
2cc21583d9 On-create activities are only created for Pillar nodes.
This allows Attract to use custom on-create activities.
2016-11-02 15:39:16 +01:00