Commit Graph

53 Commits

Author SHA1 Message Date
Francesco Siddi 67ce16fc78 Limit video max-width in homepage blog list 2018-01-18 11:57:53 +01:00
Sybren A. Stüvel d00c32310b Update stats URL to the new Kibana dashboard. 2018-01-12 14:03:42 +01:00
Stephan preeker 5c26756626 remove algolia 2018-01-12 11:54:39 +01:00
Sybren A. Stüvel c2518e9ae1 Send welcome email to new Cloud subscribers 2017-12-21 15:26:23 +01:00
Sybren A. Stüvel b2cad0fb9a Fixed mistake in capability check 2017-12-19 10:51:59 +01:00
Francesco Siddi 8a4f6c3649 Switch from macros to blocks for navigation menus
For more informations see a7693aa78dcf0a0a77e113f34afa63fb4f615441 in pillar.git
2017-12-13 11:13:47 +01:00
Sybren A. Stüvel bff51e1e83 Added /renew endpoint to redirect to Blender Store renewal URL. 2017-12-06 14:36:02 +01:00
Sybren A. Stüvel 532bf60041 Obtain subscription info from Store.
This was in Pillar, and is now moved to Blender Cloud. It's used to obtain
the subscription expiration date from Blender Store.
2017-11-30 15:45:40 +01:00
Sybren A. Stüvel efc18c5628 Open "this user on" links in new tab 2017-11-29 14:09:13 +01:00
Sybren A. Stüvel 127e422775 Updated Blender ID link to the new Blender ID 2017-11-29 14:05:39 +01:00
Sybren A. Stüvel 59f4edf192 Moved 'This user on Blender Store/ID' links from Pillar to Blender Cloud 2017-11-29 13:59:12 +01:00
Pablo Vazquez 5ea47b6f8f Fix navbar-toggle not visible on mobile 2017-11-28 16:06:11 +01:00
Pablo Vazquez e27d8a3f08 Welcome: Replace all store URLs with variable
Also link Hjalti's video to actual video asset
2017-11-28 15:10:40 +01:00
Pablo Vazquez c6407b4f7a Welcome page: Fix links to the store
And make some titles links as well
2017-11-28 14:44:54 +01:00
Pablo Vazquez 71bdff82b3 Home: In Production section for ongoing projects 2017-11-27 10:39:34 +01:00
Pablo Vazquez 98f695c54b Home: In Production section for ongoing projects 2017-11-24 19:36:43 +01:00
Pablo Vazquez 30fe3e1360 Welcome page: Explore should go to cloud.blender.org when logged in
Pointed out by Dr. Sybren
2017-11-24 16:47:32 +01:00
Pablo Vazquez fd6c9ec02d Welcome page: Update prices 2017-11-23 18:31:57 +01:00
Pablo Vazquez 62dcd93584 Only load markdown.min.js if current_user has subscriber capabilities
Since commenting or node editing is the only place we use js markdown now.
2017-11-23 16:51:31 +01:00
Pablo Vazquez 8fc9529752 Homepage: Re-use render_blog_post macro to display posts
No need to have custom code when we have a nice little macro for it
2017-11-23 16:17:38 +01:00
Sybren A. Stüvel 59d165b6d0 Subscription refresh: refresh the page on a 403
A 403 indicates the session isn't valid any more, and a window reload will
fix that (either by automatically logging in via Blender ID or by
providing a login prompt).
2017-11-17 12:13:25 +01:00
Pablo Vazquez 08f56877ca Homepage: Small cleanup of classes and more space between posts
Also fix selectors for comments/assets
2017-11-10 17:35:19 +01:00
Pablo Vazquez 5be0f3baf0 Update cache for CSS/JS 2017-11-09 18:59:44 +01:00
Pablo Vazquez 8288b4eab1 New Homepage: Featuring more in the blog posts 2017-11-09 18:37:32 +01:00
Francesco Siddi 73a0de3157 Merge branch 'master' of git.blender.org:blender-cloud 2017-11-08 16:25:12 +01:00
Pablo Vazquez bcab6ac5b7 Stats files are no longer needed 2017-11-08 16:24:58 +01:00
Francesco Siddi c2492e8710 When logging in from /welcome, redirect to index
Backend logic simplified, to support the next arg if provided, otherwise simply redirect to the request.referrer (last visited page).
2017-11-07 18:25:42 +01:00
Francesco Siddi 08b388f363 Display Log in on button only if current_user.is_anonymous 2017-11-07 18:25:42 +01:00
Francesco Siddi 470fdf89f4 Add alt tag to images in welcome page 2017-11-07 18:25:42 +01:00
Pablo Vazquez c00121d71c Introducing main.sass stylesheet
Blender Cloud used main.css from Pillar

As we try to strip Blender Cloud-specific content from Pillar,
this commit brings three .sass files over to this repository.

There are still plenty of Blender Cloud classes all over Pillar,
they will be brought here over time.
2017-11-07 16:56:45 +01:00
Pablo Vazquez 047737ef41 New block in the navigation menu for user specific entries
Called "navigation_user", used at the moment by the
/welcome page for turning "Login" into "Login and Explore"

Also added the block name to {% endblock %} where it makes sense.
There is no functional change, just easier to read.
2017-10-25 15:43:16 +02:00
Pablo Vazquez 5eaa202d49 Welcome Page: Fix count of awesome people (Cloud subscribers) 2017-10-23 15:34:31 +02:00
Pablo Vazquez a9788e70c9 Welcome Page: Add links to titles and images 2017-10-23 15:34:00 +02:00
Pablo Vazquez 0c4fbcf65d Refresh the /welcome page 2017-10-18 20:06:34 +02:00
Pablo Vazquez e86cc9df77 Remove deprecated classes 2017-10-18 20:06:11 +02:00
Pablo Vazquez cb08c113af Fix missing background on /about page
Fixes T52867
2017-10-17 15:45:22 +02:00
Pablo Vazquez 5dc4b398c2 updateTitle is no longer needed since we now have DocumentTitleAPI
taking care of titles in 0_navbar.js (part of tutti.min.js)
2017-10-05 15:33:50 +02:00
Pablo Vazquez c25aae82b5 Update title when notifications count has been updated 2017-10-02 19:55:08 +02:00
Francesco Siddi 13ed89c480 Add terms and conditions and privacy statement 2017-09-21 22:17:52 +02:00
Francesco Siddi ab41f3afcd Spaces to tabs in pug file 2017-09-21 22:17:05 +02:00
Pablo Vazquez 5128675f55 Homepage Featured Project: summary link to project 2017-09-21 19:13:50 +02:00
Sybren A. Stüvel 5d0b8a1dc4 Added static page that embeds stats from Kibana.
It just has a full-width iframe that embeds the dashboard from
https://stats.cloud.blender.org/
2017-09-21 14:25:14 +02:00
Pablo Vazquez 869e228069 Homepage Random Featured: Show project more prominently for first item 2017-09-17 20:12:47 +02:00
Sybren A. Stüvel e103a712b3 Performance improvements for the homepage (activity, blog, random featured) 2017-09-15 15:25:27 +02:00
Sybren A. Stüvel a7889214cf Locally hosting the Roboto font.
This removes the loadCSS() call, which uses setTimer() to repeatedly do
stuff while other stuff is loading. This saves quite a bit of CPU time
spent on JavaScript.
2017-09-15 11:45:09 +02:00
Sybren A. Stüvel 2bac3997f6 Link to Blender Cloud add-on (and not the obsolete bundle link) 2017-09-05 11:32:24 +02:00
Sybren A. Stüvel ff8e338f86 Don't include raw & chars in HTML 2017-09-05 11:31:39 +02:00
Francesco Siddi a9280dd05f Introducing settings for blender-cloud
Moved Blender Cloud specific settings from Pillar into this application.
2017-08-30 23:13:06 +02:00
Pablo Vazquez 0b2583c22e Layout: Headers backdrops are no longer used 2017-08-30 15:42:03 +02:00
Francesco Siddi fd600c9fa0 Fix for broken url_for 2017-07-27 09:30:09 +02:00