848 Commits

Author SHA1 Message Date
90c6fdc377 Handle empty attachments (no slug nor oid) and reject duplicate slugs 2016-11-02 12:28:45 +01:00
2a5b3dc53e Removed unused code. 2016-11-02 12:28:45 +01:00
dabc1a44b8 Set icon for error message 2016-11-02 11:42:49 +01:00
eb1561136b Fix typo in attachments code 2016-11-02 11:42:23 +01:00
d24677992e Datetimes in dynamic properties are now timezone-aware (but hardcoded). 2016-11-02 10:52:44 +01:00
e143b9cb72 Use undertitle filter when displaying node status 2016-11-01 19:36:04 +01:00
6faea83372 Fix rating on comments 2016-11-01 19:28:53 +01:00
d36dcad773 Fix rated status for comments (was missing space between classes) 2016-11-01 19:28:53 +01:00
a385a373b9 Typo in comments 2016-11-01 19:28:53 +01:00
8fa135d52e Add license types and notes to asset node_type 2016-11-01 19:05:14 +01:00
6f460ee127 Fix for non existing attachments 2016-11-01 18:05:26 +01:00
8cc2cfb189 Don't use hardcode url for homepage 2016-11-01 17:29:27 +01:00
c672bc07fe Only load comments on assets or posts
Was trying to load comments on groups, textures, etc.
2016-11-01 17:17:33 +01:00
656944f1ce Allow add_to_project() to take generator for node types 2016-11-01 16:47:55 +01:00
ab9d5c1793 CLI upgrade_attachment_schema: skip already upgraded nodes. 2016-11-01 16:47:55 +01:00
fe4d70c0d1 CLI upgrade_attachment_schema: also remove attachments form_schema
Previously they would have {'attachments': {'visible': False}}, but this
is no longer needed.
2016-11-01 16:47:55 +01:00
964e807721 Give admin explicit permissions, instead of blindly granting everything.
This ensures that the allowed_methods properties are properly set. Admin
users get the union of all permissions given to all groups and users.
2016-11-01 16:47:55 +01:00
3cf71a365f Forms for attachments work, VERY HACKISH Hardcodedness™ 2016-11-01 16:47:55 +01:00
5bd2c101fe Restore DB from 'cloud' subdir 2016-11-01 16:47:55 +01:00
aef7754537 Attachment rendering for posts & node descriptions. 2016-11-01 16:47:55 +01:00
d50d206e77 Gracefully handle non-existing files when renaming asset nodes. 2016-11-01 16:47:55 +01:00
28223159e7 Allow admin users to do everything.
This makes things more consistent (previously admins could create projects,
but not nodes in those projects).
2016-11-01 16:47:55 +01:00
a38e053c1a Added CLI command to create blogs. 2016-11-01 16:47:55 +01:00
62ac12deff Some more simplification 2016-11-01 16:47:55 +01:00
64ece74404 Cleaned up some blog post viewing code 2016-11-01 16:47:55 +01:00
bffbbad323 Support Cerberus valueschema in ValidateCustomFields 2016-11-01 16:47:55 +01:00
8fb64c38d6 Removed API-side attachment parsing. 2016-11-01 16:47:55 +01:00
f72890cc59 Define standard set of node types 2016-11-01 16:47:55 +01:00
0929a80f2b New data structure for attachments. 2016-11-01 16:47:55 +01:00
ff7101c3fe Small improvements in ValidateCustomFields() 2016-11-01 16:47:55 +01:00
590d075735 New schema for attachments, using propertyschema/valueschema. 2016-11-01 16:47:55 +01:00
fa3406b7d0 only_for_node_type_decorator() now supports checking multiple node types 2016-11-01 16:47:32 +01:00
5805f4eb2a Comments is now part of the base style 2016-11-01 15:53:40 +01:00
53cbe78ec1 Use #comments-embed for embedding comments. Avoid duplicate ID 2016-11-01 15:53:40 +01:00
f4b5e49c26 Return service account info from create_service_account() 2016-11-01 14:00:00 +01:00
499af03473 Gracefully handle 404 in get_user_info() 2016-11-01 14:00:00 +01:00
51c2c1d568 Make it possible for Pillar extensions to add service accounts. 2016-11-01 14:00:00 +01:00
144c5b8894 Use statusBarSet() js function from Pillar 2016-11-01 12:30:53 +01:00
c9d7da3a42 Attract and Flamenco icons 2016-10-21 20:41:41 +02:00
b59fcb5cba Prevent {{ url_for_node(...) }} crashing the planet when node doesn't exist.
Now None is returned as URL, and a warning is logged, rather than crashing
with a 500. A situation like this occurs when an activity refers to a
no longer existing node.
2016-10-21 16:00:03 +02:00
7be8e9b967 Show a nicer 404 error when something was deleted (instead of just "not there") 2016-10-21 15:27:17 +02:00
041722f71a Allow custom messages in the 404_embed.jade template 2016-10-21 14:38:57 +02:00
457a63ddcb Notifications: Fix alignment of mark as read button 2016-10-21 11:43:40 +02:00
5677ae8532 Prevent errors when notification is linked to non-existing node 2016-10-20 17:43:51 +02:00
8d99f8fc2e No more on-focus resizing; the "POST COMMENT" button moves away when you click it 2016-10-20 17:30:39 +02:00
09a21510a2 Comments: fixed issue cancelling reply & then posting top-level comment
This would still post as a reply, rather than as a top-level comment.
2016-10-20 17:29:45 +02:00
73641ecc8a Allow more tags in comments, including iframe (for video embedding) 2016-10-20 17:14:20 +02:00
b1da6de46e Comment textarea min height set when editing + only transition border-color 2016-10-20 17:04:02 +02:00
fceac01505 Set a nice minimum height when editing a comment 2016-10-20 17:02:07 +02:00
8b64f9140b Allow resizing of comment textarea 2016-10-20 17:01:58 +02:00