1509 Commits

Author SHA1 Message Date
ec42d033b3 Comment padding/color tweaks for the blog and projects 2017-09-25 10:15:05 +02:00
Pablo Vazquez
8fd577c733 Comments: Capitalize actions and color Reply 2017-09-25 01:24:30 +02:00
Pablo Vazquez
4eeccb6107 Comments: More compact layout 2017-09-25 00:39:34 +02:00
Pablo Vazquez
6688ae66fa Use Toastr to notify 2017-09-25 00:37:03 +02:00
Pablo Vazquez
38e960eb3f Comments: Fix multiple posting when using a hotkey
On every new item loaded with comments, we would bind the click without
unbinding first, leading to multiple posting when triggering the comment
submission.
2017-09-25 00:35:35 +02:00
Pablo Vazquez
dbde681aff Fix alignment for notifications count 2017-09-24 23:11:08 +02:00
Pablo Vazquez
76a5555ff4 Toastr Notifications: Brighter text color 2017-09-23 00:01:16 +02:00
7d740c74e3 Move comment posting into its own function 2017-09-22 19:12:13 +02:00
58b8cea757 Homepage: Don't capitalize project summary on random featured assets 2017-09-22 15:32:27 +02:00
dc75980eba Blog: limit the max-width of post content 2017-09-21 19:14:30 +02:00
f311dbbe30 Fix fluid headers on video 2017-09-21 19:04:55 +02:00
Pablo Vazquez
b5f0c59511 Comments: Style tweaks
More compact and also convert IDs to classes (when not used by javascript)
2017-09-21 01:14:53 +02:00
bc5a8fba61 Prevent node edit form display if PUT is not allowed for the node 2017-09-20 16:40:06 +02:00
1e6180be48 More fixes for video fluid 2017-09-20 16:37:16 +02:00
ebe3118f79 Project home video should not have vjs-fluid, it already is fluid 2017-09-20 16:35:19 +02:00
714455a4eb Fix navigation tree not scrolling until the bottom 2017-09-20 16:31:07 +02:00
0089a8a98e Video: Previews are already fluid, no need for vjs-fluid 2017-09-20 16:18:05 +02:00
9fa4da284b Homepage: Style tweak to random featured project 2017-09-20 16:14:46 +02:00
e3f1f101e2 Assets: No need to calculate preview aspect ratio anymore
No longer used since we went full width
2017-09-20 16:06:42 +02:00
386571157a Assets: Check if user is subscriber or asset is public 2017-09-20 14:23:21 +02:00
5012d19180 Video asset: Show link to login as well as subscribe 2017-09-20 14:19:39 +02:00
54b5e8e3d4 Video: Fix Download button 2017-09-20 14:19:39 +02:00
Pablo Vazquez
5e0e71aa1c SASS: Set all config variables as !default
So other Pillar apps can override them
2017-09-19 21:21:59 +02:00
bd976e6c2e Fixed user switching. 2017-09-19 13:38:48 +02:00
9cce441f6c Removed unused code 2017-09-19 13:38:30 +02:00
6af0cd2be8 Don't show "Create a project" button to non-subscribers, and make btn clickable 2017-09-18 13:51:31 +02:00
82a1e0796c Project Home: Scale header image fit as cover 2017-09-17 21:55:59 +02:00
8d0c0894cb Textures: No background color for download button 2017-09-17 21:55:10 +02:00
b98771f067 Improvements to image thumbnailing
- Optimize JPEGs and increase quality from 75 to 95
- Don't always convert to RGB, first check if RGBA and save as PNG optimized

Thanks to Dr. Sybren and Francesco for review and feedback
2017-09-17 21:49:55 +02:00
b2cfe46438 Style tweaks on projects
Plus re-ordering and minor cleanup
2017-09-17 20:11:13 +02:00
53ac29cfd1 Project: Show edit button in sidebar
So we can access it from everywhere and not only from project home
2017-09-17 20:11:13 +02:00
4e153413d9 Fix Download button showing when not logged in 2017-09-17 20:11:13 +02:00
Dalai Felinto
7d48c02fa3 Expand user schema to support extension_props 2017-09-17 00:25:09 +02:00
5df68c4ead Comments: Only show if there are actually comments
No negative text "no comments"
2017-09-16 20:11:50 +02:00
1563f4142d Fix broken layout on project blog posts
Fixes T52764
2017-09-16 20:11:50 +02:00
1177f516ba Set status as 'published' when creating a blog
If a blog is not set as published it won't be visible in the navbar.
2017-09-16 19:20:12 +02:00
2d18057c6e Added DB index for latest assets/comments 2017-09-15 17:09:15 +02:00
970376ed56 Removed debug print 2017-09-15 17:04:23 +02:00
e2ea8d491b Added a bit of input validation 2017-09-15 16:50:27 +02:00
62954ac157 Latest assets/comments: using Mongo aggregation instead of Python code 2017-09-15 16:47:40 +02:00
1c70d80b99 Removed unused imports 2017-09-15 15:26:43 +02:00
dc50d6e941 Add more logging to find cause of KeyError
There can be a KeyError accessing permission['methods'], but our current
logging doesn't provide enough information as to determine when this
happens. Rather than bluntly fixing the issue, I added logging to try and
find out how we get a 'methods'-less permission dict in the first place.
2017-09-15 11:02:31 +02:00
8377dc63c0 Fix attribute error accessing response.text
The response object *should* be a requests.Response object, which *should*
have a .text property. However, there are situations where this is not the
case, and in those cases we now won't produce an AttributeError.
2017-09-15 10:06:06 +02:00
54bb506e10 Orphan finder: also interpret 24-char hex strings as ObjectIDs
This is necessary as some dynamic node properties have ObjectIDs saved
as strings.
2017-09-14 17:43:23 +02:00
d4facbf2e3 Orphan finder: store the orphan-files.txt file in STORAGE_DIR
This allows running the orphan finder inside a docker container.
2017-09-14 17:34:02 +02:00
ddc8fc0f5e Clarify celery beat schedule a bit 2017-09-14 17:15:11 +02:00
82d2921424 Added support for periodic Celery tasks.
You have to run "manage.py celery beat" for this to work too. Run
"manage.py celery beat -- --help" to get CLI option help.
2017-09-14 16:00:59 +02:00
5d137ac997 Added Celery task for refreshing file links
This includes a CLI command to kick off a single run for the Celery task.

This does *NOT* include a check to see whether the task is already running!
2017-09-14 15:12:25 +02:00
b06e17acf0 Added a little reminder about what to do when you add a Celery module 2017-09-14 15:10:54 +02:00
c272b5d4bb refresh_backend_links CLI: don't convert str → int multiple times 2017-09-14 15:10:32 +02:00