Commit Graph

695 Commits (0796a17422f9f1d890c2e34cfce8f3054be965fd)

Author SHA1 Message Date
Aevann1 0796a17422 switch from hcaptcha to turnstile 2022-11-11 20:34:06 +02:00
Snakes fa43317ee2
Revert "Merge pull request #396 from nekobbbbbbit/debooterstrap"
This reverts commit ae1e6b01a4, reversing
changes made to 7e5c1b0ad8.
2022-10-31 18:35:47 -04:00
Nekobit 7b22f345f5
Remove temp code 2022-10-30 00:12:48 -04:00
Nekobit 302f35cca0
login: Fix scroll overlay page
Login and scroll page were overflowing. This workaround is a bit funky due to the overflow placement, but it'll do
2022-10-30 00:12:06 -04:00
justcool393 540cc99e25
add correct flag to sign up 2022-10-29 22:40:35 -05:00
justcool393 912dc80ae1
sign up page header 2022-10-29 22:19:30 -05:00
justcool393 74d3c325d4
Merge branch 'frost' into debooterstrap 2022-10-29 20:07:18 -07:00
Aevann1 77dc8a990c remove some unnecessary <br>s 2022-10-30 00:42:40 +02:00
Nekobit 7e1681e34e
Bump, Responsive login page, use new stylesheet helpers 2022-10-29 14:30:20 -04:00
Aevann1 7915d9f0aa fix bugs resulting from fdd608532b 2022-10-29 03:26:46 +02:00
Aevann1 d1f01d2dd7 remove some spacing insanity in login/signup pages 2022-10-29 03:01:59 +02:00
Aevann1 aec78a3b05 get rid of all header classes 2022-10-29 02:55:49 +02:00
Aevann1 efc390e0c0 get rid of some header classes 2022-10-29 02:52:11 +02:00
Aevann1 fdd608532b add type="button" to all <button> tags 2022-10-29 01:35:14 +02:00
Snakes d626ae7f6b
Add login required signup blurb for rDrama. 2022-10-26 20:10:21 -04:00
Aevann1 b563b7af30 stop using "d-none d-md-block" 2022-10-23 19:57:38 +02:00
justcool393 c4b2c6f3f5
html head refactor (#412)
* start html head refactor
this is a bit of a doozy tbh and will probably take a while. the templates are very highly duplicated but not duplicated enough to be an easy little thing

oh well, so it goes.

* some easier html head ones

* add chat, html_head, sign_up_failed_ref, sign_up, submit

* CSP: put it in const.py instead of this weird thing we did before

* fix syntax error

* better call the actual macros

* fix prev commit

* import into settings2

* fix prev commit

* set CSP properly if localhost

* some title fixes i think

* login page

* fix prev commit

* hacky thing to get titles to work i think

* {{stylesheets()}}

* fix prev commit

* title stuff

* cries uncontrollably

* submission fixes i think

* fix prev commit i think

* submission fixes ekfjdhfkdjf

* submission fixes 4

* this may fix submissions idk tbh

* default template: make it a little better on post pages

* default template: some efficiency
2022-10-21 13:39:45 -05:00
Aevann1 9efc0f0a68 unify email regex 2022-10-19 12:39:03 +02:00
Aevann1 d91827028b fix hcaptcha in localhost 2022-10-19 12:11:27 +02:00
Aevann1 44fca7f086 ripbozo 2022-10-17 21:13:33 +02:00
justcool393 2559794135 Move stuff we put in bootstrap.js to a new core.js file 2022-10-14 02:50:39 -07:00
Nekobit abef674662
Main dev, Login, signup 2022-10-09 19:19:48 -04:00
Aevann1 fbd815f54e fix this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2847925?context=8#context 2022-10-06 08:26:10 +02:00
Snakes bfc6ff3122
Make WPD login text typography improper for Carp. 2022-10-05 19:26:49 -04:00
Snakes 3f338fc3f2 WPD: add login required explanatory text. 2022-10-05 19:17:42 -04:00
Snakes a3664e252c
assetcache: change asset_siteimg macro to filter. 2022-09-24 03:14:20 -04:00
Snakes 98936efe60
assetcache: apply to all CSS and JS assets. 2022-09-24 03:04:06 -04:00
Aevann1 b30b291baf dark hcaptcha :marseysoypoint: (thx drT) 2022-09-16 15:15:17 +02:00
Aevann1 b712b93c6e useless commit but just in case 2022-09-10 03:54:03 +02:00
Aevann1 e9445efc22 make bootstrap work on localhost 2022-09-08 19:12:46 +02:00
Aevann1 71b5367874 cachebust all css and js 2022-09-05 01:50:43 +02:00
Aevann1 11afc5cff1 fix redirection on signup 2022-08-30 21:03:49 +02:00
Aevann1 b83a16668b re-move bootstrap.js back to the top of documents to fix broken shit 2022-08-06 03:20:25 +02:00
Aevann1 cfa4841ffe testing in prod 2022-08-06 00:28:22 +02:00
Aevann1 46bc54cd2a change deux cover 2022-07-28 19:23:02 +02:00
Aevann1 b59b8e49a0 change deux cover 2022-07-13 21:09:57 +02:00
Aevann1 2d21863e19 replace "request.host" with "SITE" 2022-07-13 20:14:37 +02:00
Aevann1 334c5d449b change deux assets 2022-07-12 02:35:40 +02:00
Aevann1 dc3dcc881f change cover for deux 2022-07-10 22:35:32 +02:00
Aevann1 4c2cb82f48 change deux' assets 2022-07-10 22:27:56 +02:00
Aevann1 382df30e1f show ALL timestamps in user's timezone + move scripts to the bottom of HTML templates to mimic rocketloader's behavior on localhost (for testing) 2022-07-09 10:35:47 +02:00
Aevann1 57e424af5b revert the "defer" thing 2022-07-03 12:10:04 +02:00
Aevann1 a49325ba14 defer all scripts (this won't change anything for us since we use rocketloader, but it will fix javascript on localhost) 2022-07-03 09:42:33 +02:00
Snakes 1b9237ceaf Add assetcache.asset_siteimg, has_logo.
Commit began by changing the duplicated SITE_NAME conditional in the
header to use a `has_logo` param, much like the recent `has_sidebar`.
From there, a need to include site-specific assets in assetcache was
revealed, adding the `asset_siteimg(...)` macro. This was applied
quite broadly, though not comprehensively.
2022-07-01 01:55:53 -04:00
Aevann1 f34c4e1196 stop using app.config for our own stuff 2022-06-24 17:08:57 +02:00
Aevann1 222367cea8 fix 500 errors 2022-06-24 03:28:34 +02:00
Aevann1 9dbe67bf90 respect user's chosen themecolor 2022-06-24 03:27:49 +02:00
Aevann1 d704592bdd cache-bust all previously broken images 2022-06-22 17:59:47 +02:00
Aevann1 20585ca543 add a shortened endpoint for static images and rename loading.webp to l.webp (to save bytes) 2022-06-22 17:51:19 +02:00
Snakes cb5f9d05c6 templates: Fix improper plurals, create helpers.
Previously, the three instances of 'Report[s]' and one instance of
'Coin[s]' in the UI templates were always pluralized, even when they
referred to a singular instance. This has been corrected by creating
a `plural` helper macro.

Additionally, this was used as impetus to create `utils/helpers.html`
to eventually move more recurring template logic into macros.
2022-06-07 05:26:22 -04:00