Commit Graph

1603 Commits

Author SHA1 Message Date
Francesco Siddi d651791f22 Set remember=True on login_user to persist login sessions
Before this, after closing the browser a user had to login again.
2017-11-07 23:18:46 +01:00
Pablo Vazquez 0cf57a633c Move Blender Cloud specific Sass files to blender-cloud repository
Three Sass files have been moved so far:
_welcome
_homepage
_services

The '_stats.sass' file is no longer used since Kibana
2017-11-07 16:53:03 +01:00
Pablo Vazquez 5d6e0af605 Comments: Auto-resize textarea field as we type 2017-11-04 01:59:02 +01:00
Sybren A. Stüvel 8187a8a0dd Moved some useful code from Flamenco to Pillar 2017-11-03 17:39:54 +01:00
Sybren A. Stüvel 390d687f61 Added utility to find project ID from URL.
This is mostly useful for the CLI interface, as the majority of our Pillar
code actually needs more project information than just the ID.
2017-11-03 14:33:19 +01:00
Sybren A. Stüvel 33d3ff07db Added missing newline at end of file 2017-11-03 14:32:24 +01:00
Sybren A. Stüvel d0f10779f9 Added useful 'string' alias to attrs_extra 2017-11-03 14:32:13 +01:00
Sybren A. Stüvel 8427f03df4 Fixed bug loading extension config defaults 2017-11-03 14:31:56 +01:00
Sybren A. Stüvel d66bfe6166 Upgraded dependencies to fix problem with Flask-Script
- Flask-Script 2.0.5 → 2.0.6

Along with this came:

- Flask      0.12    → 0.12.2
- Werkzeug   0.11.15 → 0.12.2
- MarkupSafe 0.23    → 1.0
2017-11-03 11:39:53 +01:00
Pablo Vazquez 04f7869e8e Comments: Display actual date on mouse over (not pretty_date) 2017-11-02 15:38:37 +01:00
Pablo Vazquez 545165c97f Sass: Don't specify strong/b, let the browser decide 2017-11-02 12:41:04 +01:00
Pablo Vazquez 021c9e03bb Sass select2: Replace hardcoded values for our variables 2017-11-02 00:39:55 +01:00
Pablo Vazquez 53aabc8c84 Translations: Mark more strings for translation 2017-10-27 00:54:05 +02:00
Pablo Vazquez 3202b3f0b5 Comments: Style blockquote 2017-10-26 02:28:07 +02:00
Pablo Vazquez e41fd36952 Responsive tweaks for blog sidebar on projects 2017-10-25 18:43:19 +02:00
Pablo Vazquez 3636db1793 Blog: Style tweak for project blogs 2017-10-25 17:45:46 +02:00
Pablo Vazquez 5732b1a938 Videoplayer: Style tweaks and minor cleanup 2017-10-25 17:27:55 +02:00
Pablo Vazquez 3585443508 Use cache or jstree css 2017-10-25 17:27:55 +02:00
Francesco Siddi 99ed8fff5d Remove unneeded properties on create_blog 2017-10-25 16:22:55 +02:00
Pablo Vazquez a6ab7dda97 Title for loop button on videoplayer 2017-10-25 16:17:08 +02:00
Pablo Vazquez 6564fa000d Titles for node details 2017-10-25 16:16:58 +02:00
Pablo Vazquez bb33ddd9fb Blog: Style tweaks and minor cleanup
Mainly removing unused classes such as blog_post-container
2017-10-25 16:02:02 +02:00
Pablo Vazquez 5fbe62105a Blog: Minor layout tweaks
* Make header image clickable
* Make thumbnails on blog list clickable
* Put action buttons in .blog-action for easier positioning
* Cleanup
2017-10-25 16:02:02 +02:00
Pablo Vazquez 771b93b169 Blog: Don't display author name on sidebar 2017-10-25 16:02:02 +02:00
Pablo Vazquez f13310d71b Menu: "Log in" instead of "Login and Explore" 2017-10-25 16:02:02 +02:00
Sybren A. Stüvel 243442694c Log warning when someone is denied a project sharing action
This indicates that the web frontend showed something that wasn't allowed.
2017-10-25 14:59:17 +02:00
Sybren A. Stüvel a4addbfd22 Log as error when project admin group isn't properly configured. 2017-10-25 14:58:02 +02:00
Pablo Vazquez e983d0756d Rename 'Log in' button to 'Log in and Explore' 2017-10-24 15:46:16 +02:00
Pablo Vazquez 52cd30b947 Rename _join.sass to _welcome.sass 2017-10-24 15:43:20 +02:00
Pablo Vazquez ed55a73d04 VideoJS: Upgrade and stuff
* Upgrade to the latest stable version 6.2.8
* Move JS files to blender-cloud
* Introducing Hotkeys support (a'la YouTube)
* Introducing Loop button (and a way to easily add new buttons)
* Fix Analytics plugin to work with the VideoJS 6
* Minor style tweaks to work with the latest update
2017-10-24 12:49:39 +02:00
Pablo Vazquez 4f3fc91c0a VideoJS: Upgrade and stuff
* Upgrade to the latest stable version 6.2.8
* Move JS files to blender-cloud
* Introducing Hotkeys support (a'la YouTube)
* Introducing Loop button (and a way to easily add new buttons)
* Minor style tweaks to work with the latest update
2017-10-24 12:38:11 +02:00
Pablo Vazquez 5c3524706f Welcome Page: Minor style tweaks 2017-10-23 15:35:31 +02:00
Pablo Vazquez 2290e019e6 Cleanup
We don't use navbar-fixed-top anymore.
2017-10-18 20:05:24 +02:00
Pablo Vazquez 6fe6345b13 Refresh styling on /welcome 2017-10-18 20:05:24 +02:00
Sybren A. Stüvel 53fe047bca Fix bug in getting Blender ID error response 2017-10-17 12:44:26 +02:00
Sybren A. Stüvel d9c3705c47 Fix tuples in existing session['blender_id_oauth_token']
In a past version of Pillar we accidentally stored tuples in the session.
Such sessions should be actively fixed.
2017-10-17 12:40:33 +02:00
Sybren A. Stüvel 88ffd64706 get_blender_id_oauth_token() now consistently returns a str
Before it could return either of str, tuple, or None.
2017-10-17 12:16:56 +02:00
Sybren A. Stüvel a897282400 Added some type checks before assigning to session['blender_id_oauth_token']
There were some sporadic TypeErrors where the session var was set to a
tuple instead of a string; this is a way to figure out where that happens.
2017-10-17 12:16:20 +02:00
Sybren A. Stüvel cfbb05530a Taken unrelated code out of try-body.
The try-body should only contain code that can actually raise the caught
exception.
2017-10-17 12:14:12 +02:00
Sybren A. Stüvel 72f440f509 Fix AttributeError
Exceptions aren't guaranteed to have a 'message' attribute. It does have
'args', but str(ex) is probably more useful as it's likely to include
the exception type.
2017-10-17 11:32:25 +02:00
Sybren A. Stüvel 9c3667b51f Include HTTP method in bugsnag report 2017-10-17 11:32:25 +02:00
Pablo Vazquez 6ffbd52a36 Comments: Simpler login message
No point in having a disabled input, since we're leaving
the page to login anyway
2017-10-15 05:56:43 +02:00
Pablo Vazquez 49feaa8281 Don't use hard-coded white background for notifications flyout.
Use $color-background instead
2017-10-15 05:55:12 +02:00
Pablo Vazquez 72507d7bb2 Minor style tweaks to comments 2017-10-15 05:52:49 +02:00
Pablo Vazquez 3bcf4eaebd Icons
New: pi-social-youtube, pi-social-reddit, pi-moon, pi-off
Replaced: pi-spin, pi-comment, pi-download
Removed: pi-log-in, pi-log-out, pi-circle-notch
2017-10-14 03:15:12 +02:00
Pablo Vazquez d637e322f7 Replace hardcoded colors with variables and more sane colors.
Makes it possible to theme the comments by replacing color variables.
2017-10-14 03:06:08 +02:00
Pablo Vazquez 43cb7a5f65 File Upload: Clear notifications before success/error
So we don't end up with both file-upload and success at the same time
when uploading files that go up fast.
2017-10-11 23:08:20 +02:00
Pablo Vazquez 7fd7fcc16c Minor style tweaks for responsiveness 2017-10-08 23:41:18 +02:00
Pablo Vazquez e01197a5d5 Comments: minor tweaks to strings 2017-10-07 00:07:24 +02:00
Francesco Siddi be4ce024f4 Introducing public and private extension_props for users
- public: they will be visible to the world (for example as result of the User.find() query)
- private: visible only to their user
2017-10-06 00:13:22 +02:00