1583 Commits

Author SHA1 Message Date
8b25024f6f T53161 Proof of Concept working USER search. WIP js. 2017-11-17 16:05:22 +01:00
235a88d613 T53161 Proof of Concept working 2017-11-17 14:05:24 +01:00
5a9a2c4268 T53161 WIP javascript search WIP WIP 2017-11-10 19:09:14 +01:00
a8849ec823 T53161 elasticsearch can index nodes now. cli command. NOTE config changes!! 2017-11-10 16:05:12 +01:00
1fe88819f4 T53161 WIP create elasticsearch app / doc / stuff 2017-11-03 18:18:12 +01:00
b6af919fa9 T53161 proces feedback sybren, replace angolia with search 2017-11-03 16:40:02 +01:00
47a1db07dc T53161 start working on elastic.. 2017-10-25 17:09:10 +02:00
e983d0756d Rename 'Log in' button to 'Log in and Explore' 2017-10-24 15:46:16 +02:00
52cd30b947 Rename _join.sass to _welcome.sass 2017-10-24 15:43:20 +02:00
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
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
5c3524706f Welcome Page: Minor style tweaks 2017-10-23 15:35:31 +02:00
2290e019e6 Cleanup
We don't use navbar-fixed-top anymore.
2017-10-18 20:05:24 +02:00
6fe6345b13 Refresh styling on /welcome 2017-10-18 20:05:24 +02:00
53fe047bca Fix bug in getting Blender ID error response 2017-10-17 12:44:26 +02:00
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
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
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
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
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
9c3667b51f Include HTTP method in bugsnag report 2017-10-17 11:32:25 +02:00
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
49feaa8281 Don't use hard-coded white background for notifications flyout.
Use $color-background instead
2017-10-15 05:55:12 +02:00
72507d7bb2 Minor style tweaks to comments 2017-10-15 05:52:49 +02:00
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
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
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
7fd7fcc16c Minor style tweaks for responsiveness 2017-10-08 23:41:18 +02:00
e01197a5d5 Comments: minor tweaks to strings 2017-10-07 00:07:24 +02:00
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
98527c72f4 Support for extra_template_args in node view
This allows for wrapping the view function in another function which will provide additional args. Originally implemented in order to allow Dillo post view to provide the Project object to the view_embed template.
2017-10-05 23:46:24 +02:00
053e681d00 Create MongoDB index on tokens.token_hashed 2017-10-05 19:40:41 +02:00
6d8870ba25 Blog: Check if blog_archive_prev/next exist before showing link
Also minor cleanup of the classes and excessive indenting.
2017-10-05 17:32:55 +02:00
01dab4188c Style tweaks to blog archive 2017-10-05 17:32:55 +02:00
eca5f48d41 Fix project_blog_archive pagination
Was missing the 'page' argument.

Fixed by Dr. Sybren
2017-10-05 17:32:55 +02:00
73b50556be Added blog archive.
May still need some style tweaking.
2017-10-05 17:32:55 +02:00
e724c9c2ad Blog: Simplified looping over blog posts. 2017-10-05 17:32:55 +02:00
f42334453c Deduplicated code for image expansion into the page overlay
It now also supports WEBP links, and is compatible with Google Cloud
Storage (which adds ?blablabla to links).
2017-10-05 17:32:55 +02:00
2603c4f44f Deduplicated blog templates by using macros. 2017-10-05 17:32:55 +02:00
bd93625119 Use super() call instead of copy-pasting the contents of the parent block 2017-10-05 17:32:55 +02:00
8fe6b472e4 Notifications: Fix and documentation
Fixed notification-toggle not working because we were accessing
the selectors before they were available in the DOM.

Now use the ID selector directly, re-use when possible.

Also added comments describing obscure variables.
2017-10-05 15:29:30 +02:00
68c7a88fed Use the nifty new DocumentTitleAPI to update notification count
and page titles when browsing assets.

This removes the need for updateTitle()
2017-10-05 15:29:30 +02:00
f9e10976b8 Added a little DocumentTitleAPI object for easier updating of the title. 2017-10-05 15:29:30 +02:00
f17453ba10 Added 'operations hash_auth_tokens' CLI command. 2017-10-05 13:04:44 +02:00
c57aefd48b Hash authentication tokens before storing in the database. 2017-10-05 12:57:16 +02:00
Pablo Vazquez
389413ab8a Notifications: Define selectors once and re-use
Plus some comments and simplifying the switch/adding of icons
by just adding a css class that controls it.

No functional changes
2017-10-04 00:39:00 +02:00
a2ffb8a342 Minor padding tweaks and color for blog title links 2017-10-03 12:53:41 +02:00
6f0a03ce60 Set page title on edit_embed 2017-10-03 12:52:50 +02:00
Pablo Vazquez
053848607d Don't add padding on bottom of node-details-description mixin 2017-10-03 01:26:41 +02:00
Pablo Vazquez
94a0868ba5 Comments: Style cancel button 2017-10-03 01:26:25 +02:00