Commit Graph

1032 Commits

Author SHA1 Message Date
Pablo Vazquez eb02fa5eec Replace Flowplayer with the open source Video.js library 2017-02-02 16:06:41 +01:00
Sybren A. Stüvel bc6f526b72 Don't use ?format=amp after url_for()
url_for() is smart enough to add variables to the query string if there is
no route parameter for them.
2017-01-24 16:35:02 +01:00
Pablo Vazquez 0e07cb2b1d Link to AMP view if we're in a node 2017-01-24 16:01:05 +01:00
Sybren A. Stüvel 2b528f0fff Added pillar.api.utils.bsonify(some_dict)
It was used in an experiment in Flamenco as an alternative to JSON; it
might still be used in the future if BSON turns out to be significantly
faster to generate.
2017-01-24 09:19:24 +01:00
Pablo Vazquez 9b90070191 AMP: break too long words 2017-01-23 16:15:53 +01:00
Pablo Vazquez 68fcae64ae AMP: Use srcset to load different headers depending on screen size 2017-01-23 15:56:41 +01:00
Pablo Vazquez e3fc5d1b9b Initial support for AMP (Accelerated Mobile Pages)
https://www.ampproject.org/

Basic implementation. Still needs the node description to be parsed,
as <img> tags need to be <amp-img> with special tags.
2017-01-23 15:47:14 +01:00
Pablo Vazquez 85988bb8c9 Fix for some project names breaking javascript 2017-01-20 17:35:08 +01:00
Pablo Vazquez 85dba5e9e9 Blog: Re-order hideOverlay to be re-used 2017-01-20 13:13:11 +01:00
Pablo Vazquez 350577033c Blog: Expand images when clicking on them (and the link is an image)
Duplicated in both index/view post to get it out for today's Cycles post, wrote a note to fix this.
2017-01-20 12:38:50 +01:00
Pablo Vazquez eb5fb4eb09 Fix undefined projectTree 2017-01-20 12:10:23 +01:00
Pablo Vazquez 181cbc07d6 Blog: Center images on posts 2017-01-20 12:05:28 +01:00
Pablo Vazquez 784c1ed0bb CSS: top border for active status on table rows 2017-01-19 16:57:41 +01:00
Sybren A. Stüvel 604d6c1a07 Added pillar.web.utils.last_page_index()
This returns the last page number (base-1) of a paged Eve result.
2017-01-19 15:13:01 +01:00
Sybren A. Stüvel 129ec94608 Renamed flamenco.jobs to flamenco_jobs 2016-12-14 14:48:37 +01:00
Sybren A. Stüvel 01cc52bba9 Allow user updates in create_service_account() calls. 2016-12-14 14:41:06 +01:00
Sybren A. Stüvel 8115bc2ad5 Collections are now named flamenco_xxx instead of flamenco.xxx
The dot notation disallowed Eve hooks, as the collection names weren't
valid Python identifiers.
2016-12-14 14:40:38 +01:00
Sybren A. Stüvel a100d73a8b Collections in extension eve_settings now should start with the ext name.
Instead of Pillar automagically prepending 'attract.' or 'flamenco.' to the
names this should now be done explicitly in the extension's Eve settings.
This allows for more explicit configuration, and ensures foreign key
definitions are unambiguous.
2016-12-14 11:26:28 +01:00
Francesco Siddi 11197e669c Remove /about endpoint 2016-12-02 18:02:29 +01:00
Pablo Vazquez 7a6e1d3386 refresh css 2016-12-02 17:54:12 +01:00
Francesco Siddi 6bb491aadc Support for page urls
Now we can access pages with the following url
/p/<project_url>/<page-url>. Internally we use the existing view_node,
but if we detect that the node_id is not an object id we try to treat
it as a page url and therefore we try to define node and project using
render_node_page().
2016-12-02 16:57:51 +01:00
Pablo Vazquez bc456f9387 Fix typo 2016-12-02 16:25:47 +01:00
Pablo Vazquez 1beb3ca488 Better join page for the agent project 2016-12-02 16:18:17 +01:00
Pablo Vazquez 0190cf944a Show free assets 2016-12-02 15:39:44 +01:00
Pablo Vazquez 5f590a2063 Search point to Join page for not subscribers 2016-12-02 14:46:22 +01:00
Pablo Vazquez c284156723 Project thumbnail link to project root, not about 2016-12-02 12:43:15 +01:00
Pablo Vazquez 7219c5ca72 Disable Learn More on projects for now 2016-12-02 12:42:58 +01:00
Pablo Vazquez 86b5c1b242 Fix scrolling on sidebar for posts 2016-12-01 16:42:17 +01:00
Pablo Vazquez ffdffdeb96 Bigger thumbnail for posts 2016-12-01 16:39:20 +01:00
Pablo Vazquez 455bfdfc49 Update CSS 2016-12-01 16:31:03 +01:00
Pablo Vazquez 2ad3c8a7ed Show Browse Project on top of the list 2016-12-01 16:30:27 +01:00
Pablo Vazquez 08f3467406 Fix width on containers 2016-12-01 16:30:17 +01:00
Pablo Vazquez 2bae7c2fef Thumbnail on list of blogs on sidebar 2016-12-01 16:21:02 +01:00
Pablo Vazquez b6b517688e Display blog list and posts within the project
TODO: Edit within the project as well
2016-12-01 15:57:59 +01:00
Francesco Siddi f2942a20fe Refactor manage commands using subcommands
This way we clean up the output of manage.py and sort the commands in
three main categories:
- setup: Setup utilities, like setup_db() or create_blog()
- maintenance:  Maintenance scripts, to update user groups
- operations: Backend operations, like moving nodes across projects
2016-12-01 00:33:24 +01:00
Francesco Siddi d9b56f485b Extend CHECK_PERMISSIONS_IMPLEMENTED_FOR
We support flamenco.jobs. This is a temporary workaround until we
implement check permissions in a way that can be extended by extensions.
2016-11-30 23:50:21 +01:00
Pablo Vazquez f06b3c94eb join_agent page for the agent project 2016-11-30 23:32:46 +01:00
Pablo Vazquez 742a16fb9f Better 403 error message 2016-11-30 22:11:27 +01:00
Francesco Siddi e72f02711d Temporary tweak to join mechanism
TODO: move this to the external app (blender-cloud).
2016-11-30 15:57:11 +01:00
Pablo Vazquez 48ebdf11b3 Update project-main 2016-11-29 18:49:49 +01:00
Pablo Vazquez e43f99593a Vertical spacing on hdri thumbnails 2016-11-29 18:43:32 +01:00
Pablo Vazquez 476e7be826 Update CSS 2016-11-29 18:22:43 +01:00
Pablo Vazquez 8654503f5a Show free ribbon on project view 2016-11-29 18:17:35 +01:00
Pablo Vazquez 98295305fd Only show lock icon when we don't have a valid role 2016-11-29 18:00:54 +01:00
Pablo Vazquez e43b0cbccf Responsive layout for HDRI listing 2016-11-29 16:58:11 +01:00
Pablo Vazquez 462ef953bc Update CSS 2016-11-29 16:12:53 +01:00
Pablo Vazquez 29629f6647 Update CSS 2016-11-29 16:06:04 +01:00
Pablo Vazquez e3fc265408 Bigger thumbnail for HDRIs 2016-11-29 16:02:56 +01:00
Pablo Vazquez a67774c6e8 textures and hdris can also have the public icon 2016-11-29 16:01:51 +01:00
Pablo Vazquez dea6dd5242 Show Public status on textures 2016-11-29 15:58:21 +01:00