Commit Graph

390 Commits (95f28fdc65b907bdb7521c89a917a32193693fcc)

Author SHA1 Message Date
Aevann1 684bd24326 move 2 headers from python to nginx 2022-10-30 02:46:50 +02:00
justcool393 8bbcb9902e HTTP referer: move setting it to nginx from python 2022-10-29 16:50:33 -05:00
justcool393 3ac5fad2d8 referer: only send for same-origin requests 2022-10-29 16:33:17 -05:00
Aevann1 ad358650e1 remove retarded bullshit I wasn't consulted about 2022-10-27 19:53:08 +02:00
Aevann1 07228a2708 fix cookies on localhost 2022-10-22 17:26:39 +02:00
justcool393 49b12f220c sessions: set cookie domain properly 2022-10-21 23:39:23 -05:00
Snakes e9b648dcb5
Support for multiple WPD sites on one master. 2022-10-21 19:33:43 -04:00
Snakes 45ff9d80e5
Permit serving multiple hosts from one instance.
In service of tidying up WPD application servers. Also includes a
closely related change of letting nginx do the redirects to root.
2022-10-21 19:12:36 -04:00
justcool393 2e087dc09f set session cookie domain to SITE 2022-10-21 14:00:41 -05:00
Aevann1 360aa99fe1 small adjustments 2022-10-21 17:11:12 +02:00
Aevann1 26e2143514 marsey.world 2022-10-21 16:32:23 +02:00
Aevann1 05e8dec716 allow multiple hosts (thanks JC I love you) 2022-10-21 13:15:29 +02:00
Aevann1 e16ebf8749 fix 500 error 2022-10-20 00:28:07 +02:00
justcool393 45e40fe61c WPD: revert partially and add WPD temp stuff (leak host for WPD) 2022-10-18 06:23:59 -05:00
Aevann1 5d550d4c7a redirect to proper host instead of giving an error 2022-10-18 12:56:06 +02:00
Snakes efee8b89e7
WPD migration: update to reflect env var fix. 2022-10-17 20:40:09 -04:00
justcool393 4d0e2013dc g.db fix 2022-10-17 19:28:46 -05:00
justcool393 be6fa59e13 fix host bug, do a absolute redirect instead of a relative one, and make wpdco page essentially static 2022-10-17 18:40:09 -05:00
justcool393 4cb02189cf WPD: request path fixes 2022-10-17 18:40:09 -05:00
justcool393 6d538e2cd3 WPD migration code 2022-10-17 18:40:09 -05:00
justcool393 d04c170466 partially revert this for main 2022-10-12 09:01:43 -07:00
justcool393 ee85b5577a use error handlers in cases where we can 2022-10-12 08:55:42 -07:00
Aevann1 00b045c464 tweak env again 2022-10-10 11:06:27 +02:00
Aevann1 b515b8bd15 change DOMAIN env var to SITE (for consistency) 2022-10-08 04:06:55 +02:00
Aevann1 cfd4b6399f use mailgun again 2022-10-08 02:44:02 +02:00
Aevann1 bf9a2398da add nginx to docker 2022-10-04 21:48:52 +02:00
Snakes 4a54c6219a
Add trailing final newlines to source files.
Touched a ton of files to finally standardize on having trailing
final newlines, as best practice recommends and so our devs stop
accidentally fighting each other over it.

This was performed automatically with the following:
git ls-files -z '*.py' | while IFS= read -rd '' f; \
    do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
git ls-files -z '*.css' | while IFS= read -rd '' f; \
    do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
2022-09-29 01:43:29 -04:00
outruncolors 484de39566
[DO NOT MERGE] Chat restructure (#360)
* Create new subdirectory for chat-related stuff

* Gitignore

* Have new code show up on chat

* Have new code show up on chat

* Fix config issue

* More script stuff

* Create UserInput components

* More chat changes

* More updates to chat

* Add chat:watch script

* Move up state and pass down

* Match up existing functionality entirely

* Match up existing functionality entirely

* Send a message when hitting Enter

* feature based directories

* First crack at emoji drawer

* Leave everything in a fucked up state ugh

* Leave it in a better state

* Stop for the night

* Decouple by abstract chat functionality to provider

* Wait a minute...

* Small chat restructure

* Prepare for notifications

* Add root context

* Flash number of messages

* Read this and u die

* Add quote functionality

* Couple tweaks

* Shallowenize the features dir/

* Add activity list

* Ch-ch-ch-ch-ch-changes

* Enable moving drawer

* Hover style on activities

* UserList changes

* Add emoji processing logic

* Duhhhh

* Scroll to top when changing query

* Put the emoji in the drawer

* Improve emoji drawer

* Add emoji genres

* Do not show activities

* Add feature flag technology

* Fix issue where own messages were triggering notifications

* Adjust startup scripts

* Responsive part 1

* Styling changes for emoji genres

* More emoji drawer styling

* Add QuickEmojis

* Re-add classnames

* Set version

* Modify build script

* Modify build script

* Mild renaming

* Lots of styling changes

* Leggo.
2022-09-23 22:49:40 -05:00
Aevann1 2fa71a252b kofi integration 2022-09-13 18:53:19 +02:00
Aevann1 79ee12252d fix earlier bad replace-all 2022-09-06 22:31:31 +02:00
Aevann1 a0e3d75f3e same as last commit 2022-09-05 01:37:39 +02:00
Aevann1 92a134c28f fix PWA prompt not working for logged-in users 2022-09-05 01:37:01 +02:00
Aevann1 eff9c29025 I'm genuinely stupid 2022-09-01 22:53:25 +02:00
Aevann1 6f2d2d92b9 unmitigate yesterday's oopsie 2022-09-01 21:16:21 +02:00
Aevann1 1a5a69c93c temporary email change for WPD to mitigate a whoopsie i did 2022-08-31 18:56:56 +02:00
Aevann1 52bc4dec27 don't run chat in localhost (makes shit slow) 2022-08-30 06:54:14 +02:00
Aevann1 4538f5642f log chat 2022-08-26 17:37:06 +02:00
Aevann1 6a21dd347b Revert "Revert "Revert "restore autoflush"""
This reverts commit d84b26fc77.
2022-08-25 17:04:33 +02:00
Aevann1 d84b26fc77 Revert "Revert "restore autoflush""
This reverts commit 5aa03d87bb.
2022-08-24 16:36:44 +02:00
Aevann1 268216a537 Revert "make chat count 0 in localhost"
This reverts commit 4a111df278.
2022-08-23 17:18:59 +02:00
Aevann1 5aa03d87bb Revert "restore autoflush"
This reverts commit 687cd766b9.
2022-08-23 17:17:37 +02:00
Aevann1 4a111df278 make chat count 0 in localhost 2022-08-22 23:02:20 +02:00
Aevann1 687cd766b9 restore autoflush 2022-08-17 18:36:59 +02:00
Snakes 2845e0961b Turn login-gate of 1568ec0162 into admin toggle. 2022-08-05 16:42:22 -04:00
Aevann1 a75d481f60 add a 2nd email account for WPD 2022-08-05 19:22:17 +02:00
Aevann1 e5a2980d1b normalizing request.full_path 2022-08-01 20:03:29 +02:00
Aevann1 68c07b77bb move site_settings.json out of the repo 2022-07-30 00:14:25 +02:00
Aevann1 684a804e6e sneed 2022-07-30 00:07:08 +02:00
Aevann1 dbf16bd3f4 sneed 2022-07-29 23:52:26 +02:00
Aevann1 24c44132d8 make a line of code a little neater (thanks @everyone) 2022-07-23 09:22:55 +02:00