Commit Graph

25 Commits

Author SHA1 Message Date
rsp2k
b9ffb10668
Update TEMPLATE.env - add command to generate django secret (#270) 2023-06-12 10:59:26 -07:00
R. Miles McCain
f746bce100 Update TEMPLATE.env 2022-09-14 11:12:04 -07:00
R. Miles McCain
e7fef3b2f8 Add option to set CSRF_TRUSTED_ORIGINS (Django 4.0) 2022-09-14 11:04:47 -07:00
Christian Wiegand
d134c0049d
Localization (#214)
* General localization:
  - Add gettext to literals
  - Add trans template tag to templates
  - Set localized date and time
  - Add locale option to TEMPLATE.env
  - Add migrations that result from model field changes

* Add german locale

* Add german locale
2022-08-28 15:22:50 -07:00
Jason A. Ribeiro
d75008a34f
Provide full path for example sqlite path (#217)
The Dockerfile currently creates a directory at /var/local/shynet/db/.
The `DB_NAME` in the example file caused migrations to fail as a result.
2022-08-27 14:28:37 -07:00
Fidel Ramos
96c9c0feec
Fix SQLite support (#210)
SQLite DB was not writable because it was always located in
/usr/src/shynet/, which is owned by root and not writable by
appuser. SQLite needs the parent directory containing the DB file to be
writable by the running user.

The applied fix is to place the DB file in /var/local/shynet/db and to
create that directory in the Docker image with the right permissions.

SQLite setup is now documented in README as an alternative to Postgres.
2022-05-24 12:38:27 -07:00
havk
fcea6d3be9
Percents + visualization (#139)
* Black autoformat

* Add percent and divide filters

* Remove divide filter

* Add percents in brackets and visualization

* Apply percents and visualization to all data

* Switch absolute to relative

* Increase percent bar height

* Move bar to separated file

* Add USE_RELATIVE_MAX_IN_BAR_VISUALIZATION to settings

* Add flex items-center

* Move bar to left

* Remove spaces

* Fix USE_RELATIVE_MAX_IN_BAR_VISUALIZATION

* Remove unnecessary True

* Add bar_width tag

* Add flex-none to make flag not get squished

* Fix flex-none
2021-06-13 14:11:40 -04:00
Ian MacIntosh
f3a89bff78
Document possible time zone values (#147)
This might be a normal expectation, but it was new for me.

I added a URL to fast-track the next person in the same position.
2021-06-13 13:58:13 -04:00
Paweł Jastrzębski
d66f683104 Add DASHBOARD_PAGE_SIZE to settings
Add DASHBOARD_PAGE_SIZE to TEMPLATE.env and app.json

Parse dashboard page size value
2021-05-14 16:09:45 +00:00
CasperVerswijvelt
3a01fefcff Add custom location url from environment variable
Remove trailing dollar in long and lat placeholder
2021-05-14 16:09:45 +00:00
R. Miles McCain
db9c807289
Add optional more aggressive salting (fixes #95) 2021-01-23 23:13:44 -05:00
Oliver Kamer
c0d02732e7
Add additional env variable to template 2021-01-19 22:05:33 +01:00
R. Miles McCain
cc094fe04e
Add icons to dashboard 2020-11-26 18:09:42 +00:00
Sudipto Ghosh
101d26d356
added SHOW_SHYNET_VERSION env var to control display of version info 2020-08-31 18:08:00 +05:30
Nicholas Bentley
29ac82a91b smtp ssl/tls fix 2020-08-18 23:34:20 -04:00
Alexandre Bulté
c9b5a677d3
SIGNUPS_ENABLED -> ACCOUNT_SIGNUPS_ENABLED in docs (#51) 2020-06-18 15:15:10 -04:00
Thomas Letsch Groch
b234ef2917
Add heroku compatibility
Recognize heroku with the environment variable DATABASE_URL, parse it and replace the others based on it.
2020-06-01 18:41:39 -03:00
R. Miles McCain
d164306f8b
Make email verification optional (fixes #30) 2020-05-28 22:01:22 +00:00
R. Miles McCain
1bb4aac32f
Use $PORT env variable 2020-05-28 21:40:43 +00:00
R. Miles McCain
77f1fbc2cc
Fix faulty parallelization 2020-05-04 14:20:34 -04:00
R. Miles McCain
fe1cb39bc5
Add note about Celery in TEMPLATE.env 2020-05-02 19:43:18 -04:00
R. Miles McCain
26778f0219
Add option to not collect IP addresses (closes #18) 2020-05-02 12:35:47 -04:00
R. Miles McCain
a210e23bb3
Use hashing to associate sessions 2020-05-02 12:16:57 -04:00
R. Miles McCain
34e698e309
Update and expand the GUIDE (merges #3) 2020-05-02 11:06:14 -04:00
R. Miles McCain
5d26ab292b
Refactoring & consistency changes
Make all scripts executable

Disable debug mode by default

Use eager tasks by default

Fix typo in settings

Refactoring
2020-05-02 10:24:57 -04:00