8e6fc604e3
Build custom images for ElasticSearch & Kibana
...
We can then remove X-Pack and control ElasticSearch's memory usage.
This also gives us the opportunity to let Kibana do its optimization when
we build the image, rather than every time the container is recreated.
2017-09-21 11:28:16 +02:00
2e2fc791e1
Added Kibana to the docker-compose stack
2017-09-20 16:58:18 +02:00
00eb6d8685
Upgraded ElasticSearch 5.6.0 → 5.6.1
2017-09-19 13:48:53 +02:00
41d47cdeb8
PEP8 formatting
2017-09-19 13:45:48 +02:00
19ccffa4ae
Cache the homepage template context.
...
This requires pillar-python-sdk c8eec9fa9d8a198df198538a38ca1ad2367bb3e6
or newer.
2017-09-19 13:45:10 +02:00
aaf95f96a7
Fixed user switching.
...
Basically this copies bd976e6c2e7867fee70c8654cc887bf1d3973bc1 from Pillar.
2017-09-19 13:39:41 +02:00
9034c36564
Added ElasticSearch docker container.
...
So far it's just a standalone docker container, as there is no publicly
accessible Kibana container yet. To use, just SSH-tunnel port 9200.
2017-09-18 17:38:55 +02:00
f3e0484328
Revert "Cache the entire homepage for 5 minutes."
...
This reverts commit 9a692d475b
.
2017-09-18 13:05:29 +02:00
f74e05229c
Replace pillar-web with blender-cloud, and add HTTPS support
...
Other vhosts are already configured to use the 'blender-cloud' hostname,
and now the main one is too. It also adds HTTPS support, so that you can
test locally without having to set FORCE_SSL to false. This does require
you to create a TLS certificate in /data/certs/blender-cloud.pem, using:
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes
cat key.pem cert.pem > blender-cloud.pem
rm key.pem cert.pem
2017-09-18 12:21:33 +02:00
6d9192f0ab
Upgrade Python 3.6.1 → 3.6.2
2017-09-18 12:17:50 +02:00
869e228069
Homepage Random Featured: Show project more prominently for first item
2017-09-17 20:12:47 +02:00
9a692d475b
Cache the entire homepage for 5 minutes.
...
This means that comments and blog posts will take at most 5 minutes to show
up on /.
2017-09-15 17:46:20 +02:00
0b61e517d2
Added missing attached_to.url assignment
2017-09-15 17:03:31 +02:00
0c251c0470
Added missing projection
2017-09-15 15:46:52 +02:00
e103a712b3
Performance improvements for the homepage (activity, blog, random featured)
2017-09-15 15:25:27 +02:00
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
b554756f54
HaProxy: enable gzip compression for certain content types.
2017-09-15 11:03:28 +02:00
ea8ef9c8bb
Restart Celery Beat docker container after deploy
2017-09-14 17:21:24 +02:00
f2ad7b8868
Bumped thread count to 32, lowered proc count to 2
...
We have 2 CPUs at our DigitalOcean droplet, hence the proc count.
2017-09-14 17:17:45 +02:00
22b8ed0bc0
Added "celery beat" docker container
2017-09-14 15:58:03 +02:00
8df67bfeb5
After building the image, tell the user the image name
...
This makes pushing easier, as you can copy-paste the name into the push
command.
2017-09-12 12:10:32 +02:00
f4ac9635a9
Fixed two mistakes in stats query count_nodes()
...
- 'p.x' → 'project.x'
- is_private: {$ne: true} → is_private: False, because true is the default.
2017-09-12 11:29:36 +02:00
ea0f88b4b8
rsync_ui: delete old files when rsyncing.
...
This is especially necessary for custom node templates, as those are used
when they exist, with fallback to generic templates. When those files are
removed from the repository, they should be removed from the production
server too.
2017-09-07 15:48:38 +02:00
020f70b2cb
rsync_ui: nicer error message
2017-09-07 15:47:42 +02:00
2bac3997f6
Link to Blender Cloud add-on (and not the obsolete bundle link)
2017-09-05 11:32:24 +02:00
ff8e338f86
Don't include raw & chars in HTML
2017-09-05 11:31:39 +02:00
d80fc48635
Redirect properly after login
...
- Use next=xxx URL parameter
- Redirect to / when no next=xxx was given and the referrer is /welcome
2017-09-01 17:04:41 +02:00
9a49cb536b
Run ./gulp script when deploying, rather than running gulp directly
...
This ensures dependencies are rebuilt when they changed.
2017-09-01 11:29:42 +02:00
a9280dd05f
Introducing settings for blender-cloud
...
Moved Blender Cloud specific settings from Pillar into this application.
2017-08-30 23:13:06 +02:00
0b2583c22e
Layout: Headers backdrops are no longer used
2017-08-30 15:42:03 +02:00
835851c1d7
Gulp: Fix livereload
2017-08-30 15:06:09 +02:00
1fb3c88a8f
Override /login endpoint
...
For Blender Cloud we want to point directly to blender-id OAuth.
2017-08-25 11:56:43 +02:00
732fe7bc7c
Fixed calls to do_badger to use keyword arguments for role(s)
...
- updated call to pass multiple roles at once
- updated call to pass single role with keyword arg
This requires Pillar 87afbc52f6c7d5eb63f0da745625d05b01e81783
2017-08-23 09:32:01 +02:00
838d85a2b7
Use capabilities system to check whether the user is a subscriber.
2017-08-22 16:40:05 +02:00
2e4ed6f3c8
Also allow demo users access to Flamenco & Attract
2017-08-15 15:25:53 +02:00
fd600c9fa0
Fix for broken url_for
2017-07-27 09:30:09 +02:00
7f65b77824
New redirect from /training to /courses
2017-07-26 16:51:35 +02:00
4575e8bf8b
Public project changes
...
Now we organize training content into 'courses' and 'workshops'. This commit updates various endpoints and menus to reflect that decision.
2017-07-26 16:51:16 +02:00
fe408c3151
Moved projects index_collection from Pillar
2017-07-26 16:49:40 +02:00
9bf6a36bdd
Return cached view for welcome page only if user is anonymous
2017-07-16 00:06:18 +02:00
560c13d3a8
Add node_modules to .gitignore
2017-07-16 00:05:35 +02:00
f33bb946ac
Fix for static path
2017-07-14 12:57:58 +02:00
bda679a3bf
Remove about.html
...
This is build with Gulp from a .pug file now.
2017-07-14 12:45:35 +02:00
0ea8b02920
Tweaks to rsync_ui.sh
...
Move Blender Cloud checks before Pillar deploy commands. Also add prefixes to distinguish between Pillar vs. cloud assets.
2017-07-14 12:44:32 +02:00
ae33a6f71e
Moving Blender Cloud specific pages from Pillar
...
These pages were originally in the pillar repository, but they actually belong here. We also extended rsync_ui.sh to build and rsync to the Blender Cloud server.
2017-07-13 18:35:18 +02:00
f6df37ec24
Introducing the gulp command
...
From now on we work with .pug files for templates.
2017-07-13 18:26:54 +02:00
fca78faca0
Replace blurry image
2017-07-13 12:46:48 +02:00
c648fe0ca5
Thumbnails for Services page
2017-07-11 18:45:46 +02:00
b155b0916e
CLI reconcile_users: process 10 users in parallel
2017-07-11 14:57:57 +02:00
f493d0a566
CLI reconcile_subscribers: show user count + index
2017-07-11 14:44:00 +02:00