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
Sybren A. Stüvel
e19a38959e
Merge branch 'production'
2017-10-19 14:59:38 +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
Sybren A. Stüvel
5d26e3940e
Bugsnag app revision: use timestamp instead of Git hash
...
This turns the 'revision' we send to Bugsnag into an incremental number
that denotes the current time. This is more indicative of the application
version than the git revision of the Blender Cloud repository, as the
latter doesn't include any changes in the other repositories.
2017-10-17 12:32:15 +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
Sybren A. Stüvel
14d20edbb7
Gulp: converted package.json indentation to tabs
2017-09-28 15:42:50 +02:00
Sybren A. Stüvel
2c4527c4d6
Gulp: added 'cleanup' task that erases all gulp-generated files.
...
This runs automatically when using --production
2017-09-28 15:37:33 +02:00
Sybren A. Stüvel
3a7f5f7a7d
Gulp: replaced hardcoded paths with variables.
2017-09-28 15:37:13 +02:00
Sybren A. Stüvel
ec99b3207a
Gulp: fixed license expression
2017-09-28 15:36:42 +02:00
Sybren A. Stüvel
ac7dd4c60a
Gulp: fixed project name and repo URL
2017-09-28 15:36:17 +02:00
Sybren A. Stüvel
e45976d4e5
Added ElasticProxy to the docker/README.md file.
2017-09-26 12:27:36 +02:00
Sybren A. Stüvel
565e5e95a5
Disabled web frontend for Grafista.
...
It still collects daily statistics, until we're 100% sure our own
pillar-statscollector is doing its job correctly.
2017-09-26 12:27:24 +02:00
Sybren A. Stüvel
c2fff6a9cb
Removed -verbose from elasticproxy CLI
2017-09-26 11:58:58 +02:00
Sybren A. Stüvel
fa249d1952
Kibana: include config file that doesn't refer to xpack
...
The default Kibana config file still has an option to enable X-pack, which
is now removed.
2017-09-26 11:53:22 +02:00
Sybren A. Stüvel
d02de8e18b
Disable Dev Tools panel.
2017-09-26 11:47:09 +02:00
Sybren A. Stüvel
c6d645f664
Removed old X-pack options
...
These aren't necessary any more now that we use an image with X-pack.
2017-09-26 11:46:59 +02:00
Sybren A. Stüvel
d90794a4f0
Put elasticproxy in between Kibana and ElasticSearch
...
This blocks any data-changing HTTP request from reaching ElasticSearch.
2017-09-26 11:27:45 +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
Sybren A. Stüvel
82a4bcd185
Allow letsencrypt to run on stats.cloud.blender.org
2017-09-21 13:50:44 +02:00
Sybren A. Stüvel
4432e5b645
Added note in docker/README about permissions on /data/storage/elasticsearch
2017-09-21 13:50:31 +02:00
Sybren A. Stüvel
5948ee7c6f
Kibana: more frequent garbage collection to limit memory usage
...
See https://github.com/elastic/kibana/issues/5170#issuecomment-163042525
2017-09-21 11:52:22 +02:00
Sybren A. Stüvel
5b5005f33e
Oops
2017-09-21 11:46:01 +02:00
Sybren A. Stüvel
98177df7bd
Elastic: moved memory limit to environment variable
...
This allows us to easily change it without rebuilding the Docker image.
2017-09-21 11:38:17 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
2e2fc791e1
Added Kibana to the docker-compose stack
2017-09-20 16:58:18 +02:00
Sybren A. Stüvel
00eb6d8685
Upgraded ElasticSearch 5.6.0 → 5.6.1
2017-09-19 13:48:53 +02:00
Sybren A. Stüvel
41d47cdeb8
PEP8 formatting
2017-09-19 13:45:48 +02:00
Sybren A. Stüvel
19ccffa4ae
Cache the homepage template context.
...
This requires pillar-python-sdk c8eec9fa9d8a198df198538a38ca1ad2367bb3e6
or newer.
2017-09-19 13:45:10 +02:00
Sybren A. Stüvel
aaf95f96a7
Fixed user switching.
...
Basically this copies bd976e6c2e7867fee70c8654cc887bf1d3973bc1 from Pillar.
2017-09-19 13:39:41 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
f3e0484328
Revert "Cache the entire homepage for 5 minutes."
...
This reverts commit 9a692d475b .
2017-09-18 13:05:29 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
6d9192f0ab
Upgrade Python 3.6.1 → 3.6.2
2017-09-18 12:17:50 +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
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
Sybren A. Stüvel
0b61e517d2
Added missing attached_to.url assignment
2017-09-15 17:03:31 +02:00
Sybren A. Stüvel
0c251c0470
Added missing projection
2017-09-15 15:46:52 +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
b554756f54
HaProxy: enable gzip compression for certain content types.
2017-09-15 11:03:28 +02:00
Sybren A. Stüvel
ea8ef9c8bb
Restart Celery Beat docker container after deploy
2017-09-14 17:21:24 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
22b8ed0bc0
Added "celery beat" docker container
2017-09-14 15:58:03 +02:00