Ari Timonen
6bcfffa1ee
Major update, bugfixes
...
- Use ruby 2.7.7 as it fixed startup issues
- Update gems
- Remove depr. from puma startup
- Make entry.sh dir-agnostic
Fix tests:
- Use apparition
- Update migrations to use new syntax
- Some other minor changes
2023-02-19 17:08:46 +02:00
Ari Timonen
b9c5fe7565
Attempt to use rails 3 sessions
2022-05-20 20:54:50 +03:00
Ari Timonen
8326a49ccb
Add os gem
2021-08-05 19:59:41 +03:00
Ari Timonen
92595cea70
Switch to rails 6 cache store
2020-11-15 05:47:43 +02:00
Ari Timonen
1ab89b7ba3
Update all gems and rails to 6.0.3.4
...
Fixes most vulns.
2020-11-15 05:41:21 +02:00
Ari Timonen
d44c04534b
Fixed tests, all tests pass
2020-11-15 05:11:41 +02:00
Ari Timonen
1c5ec4cbf1
Add a WIP non-encrypted cookie store for gathers
...
Not used atm.
2020-11-03 23:29:25 +01:00
Ari Timonen
7600e58673
Updates for server move
...
- Support gathers.ensl.org
- Fix paths for certs
- Reduce SSL strictness
2020-11-03 04:26:36 +01:00
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