Commit graph

173 commits

Author SHA1 Message Date
Mouse Reeve
c08459cf5d Tick version number 2022-03-13 13:19:40 -07:00
Mouse Reeve
37beb5a8f4 Tick javascript cache buster 2022-03-13 13:19:02 -07:00
Vivianne Langdon
306f177d55 add SASS_PROCESSOR_ENABLED = True 2022-03-12 21:12:25 -07:00
Mouse Reeve
b0c0af9617 Adds custom compile management command 2022-03-04 12:40:06 -08:00
Mouse Reeve
f7c6c70c5e Ticks version 2022-03-01 12:15:56 -08:00
Mouse Reeve
02808f88e6 eslint fixes 2022-02-25 13:00:23 -08:00
Mouse Reeve
70601612f8
Removes unused dependency (#1965) 2022-02-20 18:42:14 -08:00
Mouse Reeve
c77e5a1a90
Split css (#1959)
Divides the css into sub-files and normalizes how colors are defined.

Co-authored-by: Joachim <joachim.robert@protonmail.com>
2022-02-19 16:34:17 -08:00
Mouse Reeve
6daaffeaa7
Compiles css framework from sass (#1956)
* Compiles css framework from sass

* Adds watch commands

* Copies existing css to sass file

* Moves sass out of static path

* Removes global linter

I wasn't sure how to customize this, and it's not providing a lot of
additional value on top of the domain-specific linters

* Reverts invalid change to dockerfile

* Changes stylelint path

* Remove unused bulma files

* Properly minifies generated css

* Fixes regression in thread display

* rgba function only works with percents for whatever reason

* Hush stylelint

* Removes trailing zeros

* Compile sass in Django

Co-authored-by: Joachim <joachim.robert@protonmail.com>

* Python formatting

* Updates linter

* Updates commands

* Adds css-config file

Co-authored-by: Joachim <joachim.robert@protonmail.com>

* Stylelint fix

* Removes unused compiled bulma files

Co-authored-by: Joachim <joachim.robert@protonmail.com>
2022-02-19 15:29:47 -08:00
Mouse Reeve
57fd675857 Ticks javscript cache buster 2022-02-19 07:52:05 -08:00
Mouse Reeve
3869f0cc1a Python formatting 2022-02-17 16:28:55 -08:00
Mouse Reeve
9132c054f2 Adds notice to admin about available updates 2022-02-17 16:23:15 -08:00
Mouse Reeve
d593a3a503 Sets default USE_HTTPS value based on debug 2022-02-15 13:15:04 -08:00
Mouse Reeve
1761db5444
Merge pull request #1920 from bookwyrm-social/branch-convergence
Moves towards single branch setup
2022-02-12 10:31:55 -08:00
Mouse Reeve
73b611d68d Tick version number 2022-02-04 20:12:26 -08:00
Mouse Reeve
7811a9920e Copy config from prod branch to main 2022-02-04 18:36:12 -08:00
Mouse Reeve
a370602903
Merge pull request #1860 from cincodenada/image-generation-add-cjk
Use Source Han Sans for preview images generation (bis)
2022-02-03 11:11:38 -08:00
Mouse Reeve
2c16b8f33b Fix shelf names on books page 2022-02-03 08:44:51 -08:00
Mouse Reeve
e9370fe4c9 Fixes name of Swedish locale 2022-02-02 11:43:54 -08:00
Mouse Reeve
40a14a05ad
Merge pull request #1865 from bookwyrm-social/unread-status-translation
Calculate and translate unread status counts in view
2022-01-27 18:47:35 -08:00
Mouse Reeve
047e3a324a
Merge pull request #1855 from bookwyrm-social/instance-default-language
Makes default language configurable
2022-01-27 13:25:12 -08:00
Joel Bradshaw
0c53f4e003 Fix linting and formatting 2022-01-25 01:09:27 -08:00
Joel Bradshaw
a1a3aa45f4 Don't log autoload debug
This is just too much
2022-01-25 00:53:15 -08:00
Joel Bradshaw
9e6390662b Download fonts at app startup instead
We can't bake the font into the Docker image as such, because we mount
the volumes which blows away anything we have in the app tree
beforehand.

We could stash it somewhere in the image and then copy it from there on
app startup or something, but at that point we might as well just
download it as part of the app startup.
2022-01-25 00:53:01 -08:00
Mouse Reeve
eeee62cd04 Adds Swedish to the app 2022-01-24 09:39:13 -08:00
Mouse Reeve
e5c8500547 Updates cache buster 2022-01-22 17:05:31 -08:00
Mouse Reeve
e2e5ed9aa3 Makes default language configurable 2022-01-20 16:04:42 -08:00
Mouse Reeve
9e450f2d99
Merge pull request #1802 from cincodenada/configurable-logging
Make log level configurable, override default logging config
2022-01-18 07:39:43 -08:00
Joel Bradshaw
27acf668df Add the required bits for Django's logger
So, you can't define handlers piecewise, and if you redefine a logger,
you have to also include everything it uses, because your "new" logger
doesn't have a reference to the original logging config to get things
like mail_admins and require_debug_false.

require_debug_true isn't strictly necessary here, but it seemed strange
to just copy over one of them.
2022-01-17 15:56:24 -08:00
Mouse Reeve
4c356cbeb4 Case insensitive suggestions 2022-01-17 10:52:16 -08:00
Mouse Reeve
0c2537e27a
Merge pull request #1527 from bookwyrm-social/book-file-links
Book file links
2022-01-13 11:10:05 -08:00
Mouse Reeve
0d12d82c12
Merge pull request #1818 from iamruinous/support-redis-db
add support for different redis db
2022-01-13 08:42:00 -08:00
Jade Meskill
900937ee5f
use REDIS_x_DB_INDEX instead of REDIS_x_DB, add optional setting to example env file 2022-01-13 09:16:16 -07:00
Jade Meskill
6490c1eded
use correct environment variable for EMAIL_SENDER_DOMAIN 2022-01-12 21:49:57 -07:00
Jade Meskill
3638e18844
add support for different redis db 2022-01-12 19:44:11 -07:00
Mouse Reeve
0d7801f6f4 Show unread notifications color 2022-01-11 11:04:56 -08:00
Mouse Reeve
8ba3a4ab00 Adds link confirmation modal 2022-01-10 11:48:07 -08:00
Mouse Reeve
6b0967df39 Show related books in links preview 2022-01-10 11:03:10 -08:00
Joel Bradshaw
5cf1d8a30a Make it black 2022-01-09 23:53:23 -08:00
Joel Bradshaw
085dd24a62 Simplify and explain our overrides
This should also fix the 500s-in-prod issue, yay
2022-01-09 23:49:14 -08:00
Joel Bradshaw
83851c2933 Add bookwyrm-specific logging 2022-01-09 23:49:14 -08:00
Joel Bradshaw
af3c84cd87 Add basic logging config 2022-01-09 23:49:14 -08:00
Mouse Reeve
4931e5cad2 Merge branch 'main' into book-file-links 2022-01-09 13:15:58 -08:00
Mouse Reeve
6492ca2941
Merge pull request #1769 from joachimesque/thumbnail-generation-strategy
Change thumbnail generation strategy
2022-01-09 12:34:42 -08:00
Joachim
734da71037 Remove backend setting 2022-01-09 10:36:06 +01:00
Mouse Reeve
16a58ae079 Merge branch 'main' into book-file-links 2022-01-08 16:58:37 -08:00
Mouse Reeve
ac1787ce6b Merge branch 'main' into new-languages 2022-01-08 16:54:31 -08:00
Joachim
656e0b84eb Fix 2022-01-08 17:42:25 +01:00
Joachim
a54995eb9d Add new complete strategy 2022-01-08 17:41:44 +01:00
Mouse Reeve
02a963c4ef Adds locales to application 2022-01-08 07:38:14 -08:00