a8053004ec
Add TODO for brighter days
2018-08-16 19:12:10 +02:00
05996db884
Add token revoke workflow
...
Introduce a new /token/revoke end point that accepts
POST requests with a token_id. If the request is
valid, the token is updated to is_valid=False.
Fixes T56380
Fixes T56399
2018-08-16 19:09:35 +02:00
053c1d2058
Move Blender ID OAuth client into named tuple
...
Does not crash the app when BLENDER_ID is
not configured!
2018-08-16 15:55:56 +02:00
c341b1dcc7
Include the Django Admin docs
2018-08-16 12:30:29 +02:00
46f6351797
Do version checking of the Benchmark Client
...
- The result JSON now includes the benchmark client version, and as a
result the schema version has been bumped to 1. This version is not
checked yet on the server, so it's at the moment purely cosmetic.
- Latest version of the Benchmark Client is configured in
LATEST_CLIENT_VERSIONS['BENCHMARK']. This allows us to have different
clients with different latest versions.
- An empty string as 'latest version' disables the version check altogether.
This allows us to push to the production servers before we release the
client version that actually includes the version information.
2018-08-16 12:30:29 +02:00
2c57bbb090
Show timezone in 'Your Benchmarks'
...
Showing time without timezone is meaningless.
2018-08-16 12:30:29 +02:00
32d74da132
Reformatted example JSON
...
We use four spaces for JSON in all our projects.
2018-08-16 12:30:29 +02:00
bc808b4702
Split views.py into separate files
2018-08-16 12:30:29 +02:00
d268c8077a
Basic admin backend customization
...
Display site name in admin header templates.
Fixes T56400
2018-08-15 16:54:43 +02:00
536b5f8daa
Match Blender ID navigation
2018-08-15 15:30:33 +02:00
fbd894fd66
Fix T56381: store hostname with client auth token
2018-08-15 13:07:40 +02:00
e4003f6053
Change default ordering of Benchmark and ClientToken to newest-first
2018-08-15 13:07:14 +02:00
a5198e0859
Updated webassets
2018-08-15 12:53:22 +02:00
d33c823221
Double quotes for consistency
2018-08-15 12:30:59 +02:00
0bbbdf9cea
Add favicon
2018-08-15 12:28:03 +02:00
d564a6cbb7
Update nginx configuration
...
Now static files for opendata are located in /static/
2018-08-15 12:04:19 +02:00
0a68c76ad9
Remove unused config file
2018-08-15 11:13:30 +02:00
8bcd09a4e7
Conform directory layout
...
Move static to webstatic and src to websrc.
This way when we run ./manage.py collectstatic,
files will be copied to the standard static location.
Fixes T56402
2018-08-15 11:13:17 +02:00
9d0177d946
Update repo links to new official location
2018-08-14 16:27:16 +02:00
3e13f74f9f
Add terms of service and privacy policy links
2018-08-14 16:10:54 +02:00
5c09efe49b
Padding mismatch with Blender ID
2018-08-14 16:07:13 +02:00
78fdd31201
Tweak prep_elastic.sh to run on macOS
2018-08-10 21:03:13 +02:00
96d1000852
Show a nice message for a 502 Bad Gateway error
2018-08-10 17:15:18 +02:00
9370054ddc
Authentication -> Applications
2018-08-10 17:04:08 +02:00
789ad927e1
Added single do-everything deploy script
2018-08-10 16:51:45 +02:00
fe3ad3e0f2
Proper redirect for opendata http → https
2018-08-10 16:39:08 +02:00
a4defe9801
MyData is in beta!
2018-08-10 16:36:26 +02:00
e0f2182855
Tutti from BWA for navbar hiding
2018-08-10 16:36:26 +02:00
79d8306d50
Update BTWA
2018-08-10 16:36:26 +02:00
d5b4664691
Some admin tweaks & beautifications
2018-08-10 16:21:41 +02:00
9a52d36ca5
Nice abs URL for benchmarks + return it in the submission response
2018-08-10 15:36:11 +02:00
3184d8b525
Add more stuff to bash_history
2018-08-10 15:12:18 +02:00
e92704d3dd
Clear Redis cache every time the docker container starts
2018-08-10 15:01:25 +02:00
024760c5b4
Map some DNS names to localhost inside the docker container
2018-08-10 15:01:17 +02:00
92ec02335c
Make ElasticSearch reachable on the host's localhost:9200
...
This allows us to tunnel ElasticSearch traffic via an SSH tunnel and use
a locally-installed Kibana to build queries and inspect the index.
2018-08-10 13:39:40 +02:00
14df4eed7b
Create Redis log directory if it doesn't exist yet, and fix permissions
2018-08-10 12:45:51 +02:00
432f3e3bd3
Added Redis to the docker image
2018-08-10 12:29:49 +02:00
6f6ff8f07f
nginx: Disable SSL stapling to get rid of warnings of it not working
2018-08-10 12:29:29 +02:00
bc11891e9c
Easy restarting of the two uWSGI processes
...
Just run `docker exec mydata /uwsgi-restart mydata` (or 'opendata')
2018-08-10 12:29:10 +02:00
dafcc1e399
Adapted to deploying on sintel.blender.org
2018-08-10 11:08:46 +02:00
9de2bb69f8
Allow only functional elements in the UI
2018-08-10 11:05:41 +02:00
5342152460
Hide unfinished UI elements
2018-08-09 20:49:12 +02:00
70a072f72b
More in README.md about deployment
2018-08-09 18:57:45 +02:00
4e078ba1bc
Dockerfile: moved the bits that will cause more changes to the bottom
2018-08-09 18:41:35 +02:00
db5f4335a2
Create /var/log/apps for Python's logging, with the correct permissions
2018-08-09 18:39:58 +02:00
1443e8241f
When our OpenData token is invalid, don't pass that as error to the client
...
The client will see "token invalid", and assume it's the client token at
fault. Now it results in a 503 status, which is more correct.
2018-08-09 18:39:40 +02:00
2a994cfce9
Updated example benchmark to match reality
2018-08-09 18:11:51 +02:00
5fc4b7f517
Pass validation errors to client
2018-08-09 16:49:40 +02:00
2713dee5c6
Added 2server script to easily deploy to the production server
...
Run `./2server mydata.blender.org` to do this:
- update the remote docker-compose.yml
- update the remote docker image
- reconstruct & restart the remote docker container
2018-08-09 16:25:29 +02:00
c733a1ed8e
Docker img: listen on [::0] instead of [::1] + map downloads volume
2018-08-09 16:24:37 +02:00