Commit graph

174 commits

Author SHA1 Message Date
Ari Timonen
9a7ec83f65 Fix a missing route and confirm issue in gathers 2020-04-18 08:03:27 +03:00
Ari Timonen
3712aebaee NGINX header only set in prod+staging 2020-04-18 08:02:03 +03:00
Ari Timonen
e1747cac83 Fix steam registering
- Allow updating SteamID of previous profile easily via steam login
- Fix bug with empty profile
- Redirect on login error on steam id update
- Fix styles and spacing in register form
2020-04-14 01:47:02 +03:00
Ari Timonen
5e9c725ab5 Doc update 2020-04-12 01:14:19 +03:00
Ari Timonen
d487f5e70b Dont force SSL 2020-04-11 17:26:02 +03:00
Ari Timonen
0342bf7c61 No cache in staging and force ssl 2020-04-11 16:40:49 +03:00
Ari Timonen
2c0bde6219 Updat .env docs 2020-04-11 16:17:07 +03:00
Ari Timonen
f8d6368f10 Add a default random for secrets
Add a default random for APP_SECRET_KEY_BASE to avoid startup issues.
2020-04-11 16:01:56 +03:00
Ari Timonen
3e22b06f30 Add staging to secrets.yml 2020-04-11 15:57:37 +03:00
Ari Timonen
a602a611ab Add secrets back, update docs 2020-04-11 15:44:57 +03:00
Ari Timonen
a869c97c3b Fix deprecations in env-rbs and move options to root file 2020-04-11 04:38:15 +03:00
Ari Timonen
752073b1eb Add steam login password message 2020-04-10 20:46:52 +03:00
Ari Timonen
f29eb22aa9 Add WIP login via Steam + omniauth 2020-04-10 18:32:18 +03:00
Ari Timonen
4583136768 Remove secret_token.rb 2020-04-10 07:43:06 +03:00
Ari Timonen
30b9198b6d Add staging that works
Tune env vars
Fix logs in gitignore
Rename DEPLOY_PATH env var
2020-04-08 22:25:24 +03:00
Ari Timonen
0ec3da7bf6 Add .env to repo
Add template handling for password failure
2020-04-06 05:19:39 +03:00
Ari Timonen
1ffca4e7a2 Use memcached for staging 2020-04-06 04:38:45 +03:00
Ari Timonen
4513bc9f84 Fix env vars issues
Dockerfile clean up + comments
entry.sh more env vars
Fix env* rbs
Comment out SSL for now in nginx
Doc updates
2020-04-06 03:31:05 +03:00
Ari Timonen
14d087b913 Fix dotenv load 2020-04-05 06:30:14 +03:00
Ari Timonen
75b33e760a Move back to docker-compose + fix env vars
Fix env vars. Rely on inheritance.
Add a script to load env vars as above.
Fix staging env
Add nginx conf and SSL directory
Reorganize .gitignore
Use multi-staged docker-compose + dockerfile
Substitute env vars for static values
2020-04-05 05:58:41 +03:00
Ari Timonen
2e6453dc6e Fix gathers 2020-04-03 09:48:32 +03:00
Ari Timonen
c273a30047 Add staging 2020-04-02 22:50:57 +03:00
Ari Timonen
3a4aa11d84 Add scrypt 2020-04-02 03:08:19 +03:00
Ari Timonen
ce5dfcfa6a Finish recreate, Fix file browsing
Add it to adminpanel
2020-04-01 05:00:53 +03:00
Ari Timonen
dc332a8062 Fix recalc and contest edit page 2020-03-30 03:26:32 +03:00
Ari Timonen
2627e43e26 Fix random things
Add users to adminpanel, cleanup routes, remove byebugs
2020-03-30 02:17:34 +03:00
Ari Timonen
f6b30be278 Improve contest page and match list for maps
Improve brackets
Update gitignore and docs.
2020-03-28 22:39:41 +02:00
Ari Timonen
6c3648cafe Fix user.rb, applicaiton.rb and routes.rb 2020-03-26 20:50:45 +02:00
Ari Timonen
00354fe6b3 Update puma for debug 2020-03-26 03:52:20 +02:00
Ari Timonen
533be0af2c Random small fixes 2020-03-26 02:34:27 +02:00
Ari Timonen
a05b202fe2 Fix puma 2020-03-26 02:34:05 +02:00
Ari Timonen
782f72c1a3 Rails 5 updates + fix gemfile 2020-03-26 02:15:20 +02:00
Ari Timonen
f0e73d0bbe Update DC yml, dev.rb and docs 2020-03-26 01:34:52 +02:00
Ari Timonen
6c780c84db Add more missing routes 2020-03-26 01:33:40 +02:00
Ari Timonen
1bed2c08a9 Add unicorn as backup 2020-03-26 01:32:35 +02:00
Ari Timonen
2529a23650 Fix a forum bug
Update docs + gitignore
2020-03-25 03:47:54 +02:00
Ari Timonen
b76b205347 Remove exceptional 2020-03-22 19:47:46 +02:00
Ari Timonen
49bc88cd69 Fix custom urls 2020-03-22 19:43:59 +02:00
Ari Timonen
a41b28ae23 Update uers_contoller and add almost working spec. 2020-03-21 22:33:44 +02:00
Ari Timonen
5d4132ccbf Fix link_to_function in contesters
Fix params for comment and message
Fix tinymce errors
2020-03-18 21:41:54 +02:00
Ari Timonen
c97a47ffda Fix tinymce
Update docs
Update dockerfile, fix js issue, cleanup env files
2020-03-18 21:11:10 +02:00
Ari Timonen
a66cb599a1 JS fixes 2020-03-17 04:19:59 +02:00
Ari Timonen
a6eb8bc7b1 More work on feature tests, remove readings 2020-03-16 04:36:06 +02:00
Ari Timonen
661eb61717 Update routes and rake 2020-03-16 00:58:22 +02:00
Ari Timonen
322001f8d3 Rails 4 fixes
Update to ruby 2.3.8
Update gems
Fix tests
2020-03-15 20:31:46 +02:00
Ari Timonen
b35ba51910 More test fixes for rails 4 2020-03-15 09:53:52 +02:00
Ari Timonen
88721b28df Fixes for development
Temporary fix for puma.rb
Rename .env.dev
Fix more merge conflicts

Dev env runs and tests run (with fails)
2020-03-14 21:43:19 +02:00
Ari Timonen
2c71b1147d Merge rails-4 to rails4 2020-03-14 21:10:24 +02:00
Ari Timonen
4e3009b5c2 Rails 4 updates 2020-03-09 00:07:12 +02:00
Ari Timonen
a511fb526e Fix merge conflicts 2020-03-08 22:58:52 +02:00