15 Commits

Author SHA1 Message Date
e1678537c0 Editing comments via PATCH on pillar-web, and some other comment fixes 2016-10-20 16:47:04 +02:00
d8686e5a14 Fixed comment rating 2016-10-20 16:34:33 +02:00
ea2be0f13d Major revision of comment system.
- Comments are stored in HTML as well as Markdown, so that conversion
  only happens when saving (rather than when viewing).
- Added 'markdown' Jinja filter for easy development. This is quite
  a heavy filter, so it shouldn't be used (much) in production.
- Added CLI command to update schemas on existing node types.
2016-10-19 16:57:17 +02:00
91e3ec659f Added ProjectUtils.projectUrl() 2016-09-23 10:12:57 +02:00
0bf07b4ba4 ProjectUtils: add context
Currently used in Attract for the shots/tasks list
2016-09-22 18:59:55 +02:00
dfe398458b Tutti: Check if algoliaIndex is defined 2016-09-22 18:59:55 +02:00
30215bf87c Tutti: Check if tooltip/popover exist 2016-09-22 18:59:55 +02:00
574178cffc Prevent accessing /nodes/undefined/view from search pages.
`firstHit.attr('data-hit-id')` can be undefined; in that case we just
ignore the siutation.

Furthermore, I've removed the call to clearTimeout(), as it is only
called after the timeout has been hit, and thus is a no-op.
2016-09-06 11:56:54 +02:00
305d9b44ec re-indented algolia_search.js so that it uses 4-space indents. 2016-09-06 11:52:26 +02:00
486686f1f9 File upload: Removed JS-side file size check.
Instead, the size of the entire HTTP request body is checked against the
maximum file size. This allows for slightly smaller files (in the order
of 200-300 bytes), which shouldn't be noticeable given our 32 MiB limit
for non-subscribers. This check is performed before accessing
request.files[], and thus before the file even starts uploading.

This also allows unlimited file uploads to subscribers and demo users.
This was already possible using the API, so now the web interface is
consistent. Limits can be set using config[_local].py.

This closes T49264: Allow large uploads for admins
2016-09-06 10:33:28 +02:00
e4763d809b Project view: Fix transparent background of tree/sidebar 2016-09-05 18:55:49 +02:00
8d6df947c8 User our own jQuery 2016-08-30 14:10:04 +02:00
2c62bd4016 When replying, use @username only 2016-08-30 13:54:59 +02:00
25fb4ce842 Fix scrollbars on project_tree
(brought from pillar-web)
2016-08-22 23:12:56 +02:00
2c5dc34ea2 Introducing Pillar Framework
Refactor of pillar-server and pillar-web into a single python package. This
simplifies the overall architecture of pillar applications.

Special thanks @sybren and @venomgfx
2016-08-19 09:19:06 +02:00