Francesco Siddi
fca78faca0
Replace blurry image
2017-07-13 12:46:48 +02:00
Pablo Vazquez
c648fe0ca5
Thumbnails for Services page
2017-07-11 18:45:46 +02:00
Sybren A. Stüvel
b155b0916e
CLI reconcile_users: process 10 users in parallel
2017-07-11 14:57:57 +02:00
Sybren A. Stüvel
f493d0a566
CLI reconcile_subscribers: show user count + index
2017-07-11 14:44:00 +02:00
Sybren A. Stüvel
093d80905f
CLI reconcile_subscribers: show user count before starting
2017-07-11 14:40:46 +02:00
Sybren A. Stüvel
54e9aca16f
CLI reconcile_subscribers uses do_badger & re-grants the subscriber role
...
This ensures that subscriber-linked roles like flamenco-user are synced
along with the subscriber status, and that Algolia picks up on those
changes as well.
2017-07-11 14:29:14 +02:00
Sybren A. Stüvel
3e5ad280b1
CLI command to create standard groups admin/demo/subscriber
...
This is part of what setup_db also does, but only for creating those
groups. Only really useful for debugging/developing.
2017-07-11 14:27:33 +02:00
Sybren A. Stüvel
0a9f0ebddb
Roles '{flamenco,attract}-user' are now linked to 'subscriber'
...
All users who get 'subscriber' role automatically get 'flamenco-user' and
'attract-user', and when 'subscriber' is revoked, so are
'{flamenco,attract}-user'.
2017-07-11 12:40:13 +02:00
Sybren A. Stüvel
a43e84f93e
Made script executable
2017-07-07 12:03:18 +02:00
Sybren A. Stüvel
56af1cd96c
Added renewal script for Let's Encrypt
2017-07-07 12:02:49 +02:00
Sybren A. Stüvel
69862b8416
Docker: removed blender-cloud/.well-known from letsencrypt
...
That domain is handled by a different host.
2017-07-07 11:40:27 +02:00
Sybren A. Stüvel
b9a7f501ba
Docker: Dropping support for cloudapi.blender.org
2017-07-07 11:40:25 +02:00
Sybren A. Stüvel
6fc77522ea
Removed localhost declaration
2017-07-07 11:24:14 +02:00
Sybren A. Stüvel
538a10af60
Added docker container for serving letsencrypt webroot.
2017-07-07 11:23:38 +02:00
Sybren A. Stüvel
fd700ca6d9
Inject current_user_is_subscriber into Jinja context
...
This variable is set to True iff the user has a subscriber/demo/admin role.
It's an attempt to get some of the Cloud subscription specific stuff out
of Pillar.
2017-06-14 16:26:29 +02:00
Sybren A. Stüvel
e69ac4c5b9
Restart Celery worker after deploying new version.
2017-06-08 11:55:52 +02:00
Sybren A. Stüvel
a62d1e3d7d
Updated celery-worker.sh to actually star the Celery worker.
2017-06-07 17:19:02 +02:00
Sybren A. Stüvel
d56e1afe73
Upgraded docker images Python 3.6.0 → 3.6.1
2017-06-07 13:22:57 +02:00
Francesco Siddi
8b110df32a
Convert all Redirects to RewriteRules in Apache conf
...
This allows for more precise redirection. Using the correct code (301, permanently moved) and L (Last rule, prevent any further evaluation).
2017-06-02 11:18:57 +02:00
Sybren A. Stüvel
9da841efc3
Added Celery worker docker container
...
This docker container uses the Blender Cloud image, but a different entry
point. It is not intended to be network-reachable from the outside world.
All it needs are connections to the databases (mongo, redis, rabbit).
2017-06-02 10:55:18 +02:00
Sybren A. Stüvel
c73efd5998
Added RabbitMQ, for serving as Celery broker.
2017-06-02 10:55:18 +02:00
Francesco Siddi
93edfb789f
Add Blender Cloud specific redirects
...
Originially hardcoded in Pillar, these redirects are rarely changed or added.
2017-06-01 17:27:00 +02:00
Pablo Vazquez
f0e53245a6
New images for the homepage
2017-05-22 16:01:35 +02:00
Sybren A. Stüvel
c775126cba
Docker startup: create ${APACHE_LOG_DIR} if it doesn't exist yet
2017-05-17 10:34:13 +02:00
Sybren A. Stüvel
39ce21f7f9
Copy /lib/systemd/system/docker.service to /etc/systemd/system/docker.service
...
This allows later upgrading of docker without overwriting the changes
indicated in the README.
2017-05-17 10:12:22 +02:00
Sybren A. Stüvel
3308018887
Docker: replaced "latest-py36" with "latest" in README.md
2017-05-17 10:11:49 +02:00
Sybren A. Stüvel
b93448f682
Start cron when starting the Cloud docker
...
This will regularly run logrotate, preventing the build-up of log files
of multiple gigabytes.
2017-05-17 10:08:27 +02:00
Sybren A. Stüvel
2892a46a27
Docker: store Cloud container /var/log on host in /data/log
2017-05-17 10:07:40 +02:00
Sybren A. Stüvel
e2efc70e44
Import new subscription info function
2017-05-04 18:17:37 +02:00
Francesco Siddi
bd9265e4f1
Tag blender_cloud Docker image as latest
2017-04-11 12:52:44 +02:00
Francesco Siddi
57aeea337b
Switch from id --group id -g
...
This makes the script compatible with macOS.
2017-04-11 12:34:07 +02:00
Sybren A. Stüvel
5c3d76c660
Added echo command to deploy.sh
...
We had a problem where the 'docker exec' command would hang, and having
an explicit "I'm now doing this thing" in the console helps analyse this.
2017-04-07 12:27:30 +02:00
Pablo Vazquez
9b0e996c10
Background images for Agent 327 and Andy's Waking the Forest
2017-03-22 21:57:12 +01:00
Francesco Siddi
cad77f001c
Fix start date of Blender Cloud in the About page
2017-03-18 12:47:08 +01:00
Francesco Siddi
4c149b0d24
Use -W instead of -w for ping in deploy.sh
...
Use the waittime argument instead of deadline, since the latter is not supported on macOS.
2017-03-17 12:02:05 +01:00
Francesco Siddi
28f9ec5ffa
Support the before query for user count and blender syc users
2017-03-17 11:41:44 +01:00
Francesco Siddi
56b5c89edf
Fix missing cast for the before var
2017-03-17 11:41:00 +01:00
Francesco Siddi
7472cf2b16
Properly count Blender Sync users
...
Use a dedicated aggregation pipeline to filter one startup.blend per home project and count them.
2017-03-17 10:46:29 +01:00
Francesco Siddi
e09c73ec39
Introducing endpoint for stats
...
This endpoint can be queried on a daily basis to retrieve cloud usage stats. For assets and comments we take into considerations only those who belong to public projects.
2017-03-17 09:40:50 +01:00
Francesco Siddi
59ffebd33e
Mount grafista storage volume in the correct path
2017-03-12 12:38:59 +01:00
Francesco Siddi
e5e05bf086
Add cronjob for grafista data collection
2017-03-12 12:15:44 +01:00
Francesco Siddi
3e9e075b1f
Use production branch when checking out repos
...
Also added grafista repo to the list.
2017-03-12 12:15:21 +01:00
Sybren A. Stüvel
5c01c6ec3f
Fixed path error in runserver.wsgi + no more hardcoded path.
2017-03-10 16:52:16 +01:00
Francesco Siddi
343398a813
Improve image quality pictures in About page
2017-03-10 16:45:33 +01:00
Sybren A. Stüvel
88ff479140
New photo for Sybren
2017-03-10 16:22:54 +01:00
Sybren A. Stüvel
34affb0eac
Removed executable permission from cli.py
2017-03-10 16:16:36 +01:00
Sybren A. Stüvel
17dfdc1825
Removed executable permission from images
2017-03-10 16:14:23 +01:00
Francesco Siddi
c9aaebb370
Add images to about page
2017-03-10 16:04:42 +01:00
Francesco Siddi
1d687d5c01
Introducing Cloud extension
...
We use a Pillar extension to register Blender Cloud specific endpoints.
2017-03-10 15:36:55 +01:00
Sybren A. Stüvel
2f1a32178a
Explicitly pass hostname to deploy script.
...
The script now also pings the hostname to deply to, to see if it's alive
before doing anything else.
first-py36
2017-03-10 14:24:22 +01:00