Commit graph

63 commits

Author SHA1 Message Date
Ben Rog-Wilhelm
f9cd487408 Update test to use docker compose. 2024-08-08 07:58:52 -05:00
Ben Rog-Wilhelm
41497958b6 Clean up a few minor code quality issues in the chat system. 2023-09-04 15:28:25 -05:00
Ben Rog-Wilhelm
310c6c4424
Rig up chat to be suitable for a Doge election. (Hopefully.) (#692)
* Integrate chat from upstream

Substantially borrowed from upstream ref: 13a208ee88e55 (before they
started editing generated artefacts instead of source).

Integrated, including:
  - Remove previously removed features: emoji, hats, and name colors
  - Compensate for lack of unified root template
  - Add React build process to Dockerfile and `bootstrap/init.sh`
  - Preliminary integration of chat websocket workers

For testing, modify `supervisord.conf.dev` to put chat on port 80 and
the site service on some other port. Then visit: http://localhost/chat

Still to do:
  - Access control for specific small-groups (and admins probably):
    Set the values somewhere (site_settings.json? Redis?) and use for
    authorization in `chat_is_allowed`.
  - Proxying only /chat to the websocket workers
  - Chat persistance across restarts: either Redis devops or to DB

* Add nginx server to do appropriate redirection.

* Add necessary columns to User.

* Wire up chat permissions.

* Reload chat on source change.

* Add a better structure for slash commands and add/remove functionality.

* Stop putting up previews of slash commands.

* We require more whitespace.

* Strip DMs out entirely, I currently do not want to deal with them.

* Change "Users Online" to just "Users".

* Clean up a little more DM detritus.

* Save chat history in database.

* Remove unnecessary hefty query to the DB.

* Clean up optimistic messages.

* Initial implementation of notification icon.

* Update readme a little bit.

* Fix notification highlight (mostly).

* Remove chat version number that will never be updated.

* Fix: Errors on logged-out users.

* Add function to nuke the chat state.

* Update DB.

* Add a dedicated deployable docker image.

* Fix: init_build.sh execute bit not set.

* Whoops, screwed up the abort() call.

* Relax chat rate limiter.

* Remove a somewhat silly comment.

* Remove an unnecessary g.db.add().

---------

Co-authored-by: TLSM <duolsm@outlook.com>
2023-09-04 12:42:20 -05:00
Ben Rog-Wilhelm
3187a372fe Add link to the Dev Discord in the Readme. 2023-08-23 18:39:21 -05:00
Ben Rog-Wilhelm
ff1bdf9526 Update readme with a missing setup step. 2023-05-12 05:42:38 -05:00
justcool393
9b94e524bb fix MovedIn20Warning
shouldn't actually cause any issues currently since SQLAlchemy is (to my annoyance)
import *ed everywhere but.
2023-03-14 13:32:47 -05:00
Ben Rog-Wilhelm
0af172d173
Shift a bunch of root-directory files into a new less-cluttered bootstrap directory. 2023-02-15 14:54:09 -06:00
Ben Rog-Wilhelm
0f1bd0ff1a Minor README tweaks. 2023-02-12 20:22:16 -06:00
Ben Rog-Wilhelm
411859d99f Fix Github badges. 2022-12-17 09:28:16 -08:00
Ben Rog-Wilhelm
dc50d4f1cc Fix: Bad Readme editing job by yours truly. 2022-11-21 10:25:28 -06:00
Ben Rog-Wilhelm
937d36de31
A large number of small tooling and README updates. 2022-11-10 16:43:26 -06:00
Michael House
17217d56c2
Simplify migrations and redesign utility scripts. 2022-06-29 00:18:14 -05:00
faul-sname
d999160e25
readme.md updates for alembic migrations 2022-06-06 00:09:19 -05:00
Ben Rog-Wilhelm
e590068786 Add workflow badge 2022-05-15 14:21:11 -05:00
Ben Rog-Wilhelm
cb38e8118e
Add a script to do all the work of running tests. 2022-05-13 13:04:09 -05:00
FatherInire
a12123ca01
Initial e2e testing
Authored by @FatherInire
2022-05-13 02:55:29 -05:00
iro84657
b7da8b575a Add trailing LF to text files 2022-05-10 21:05:51 -04:00
iro84657
6a31b87c35 Remove links to rdrama.net and Aevann1/rDrama 2022-05-09 21:55:42 -04:00
medecine4goat
c000dcd18b
Make whitespace consistent in readme 2022-05-09 07:48:09 -05:00
Ben Rog-Wilhelm
1ee9c1bfa7
Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
pqpetq
cf390af817
fixes and additions (#230)
* Update posts.py

* Update readme.md

* Update requirements.txt

* Update requirements.txt

Co-authored-by: Aevann1 <59999695+Aevann1@users.noreply.github.com>
2022-04-24 15:22:12 +02:00
Aevann1
1d3e50a061 fds 2022-04-03 14:57:58 +02:00
Aevann1
4df8bef213 sfd 2022-04-03 14:57:46 +02:00
Aevann1
8f4fa56753 dfs 2022-02-25 18:48:31 +02:00
Aevann1
dfafc25736 gdf 2022-02-21 09:03:33 +02:00
Aevann1
ebd5fe8718 cbv 2022-02-18 13:55:57 +02:00
Aevann1
ca8f5cd565
Update readme.md 2022-02-12 07:55:00 -08:00
Aevann1
67e4685fd3 fsd 2022-02-05 15:49:54 +02:00
beese_buck
4ac9ab4378
Update readme.md (#196)
👏unix👏is👏case👏sensitive👏
2022-02-01 15:00:25 -08:00
Aevann1
2d44092a85 fds 2022-01-28 07:22:23 +02:00
Aevann1
ae53751037 fds 2022-01-28 07:20:36 +02:00
Aevann1
db9854180e
Update readme.md 2022-01-24 13:20:13 -08:00
Aevann1
9c878b3600 fdsdfs 2022-01-24 18:29:32 +02:00
Aevann1
3045acfabb Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-01-23 21:53:54 +02:00
Aevann1
9585efa68d fdsfsd 2022-01-23 21:51:56 +02:00
Aevann1
b39afad64f
Update readme.md 2022-01-23 11:14:35 -08:00
Aevann1
9d6f09ebf4
Update readme.md 2022-01-23 11:06:42 -08:00
Aevann1
fa6687af37
Update readme.md 2022-01-23 11:06:01 -08:00
Aevann1
a313849a70
Update readme.md 2022-01-23 11:04:44 -08:00
Aevann1
1b49a03cea 1 2021-11-26 21:28:55 +02:00
Aevann1
5ce19cfba2 fdsfsd 2021-11-25 23:47:48 +02:00
Aevann1
0b49b4cd01 fdsfsd 2021-11-14 01:46:00 +02:00
Aevann1
c523c28783 dfssfd4 2021-11-03 00:13:41 +02:00
Aevann1
234401f351 fds 2021-11-02 13:33:36 -07:00
Aevann1
2265d60b22 fd 2021-10-15 16:08:27 +02:00
Aevann1
809e6ca787 fg 2021-09-06 02:06:02 +02:00
Aevann1
9e6c8b5b16 fd 2021-09-06 01:34:56 +02:00
Aevann1
d11293a1f6
Update readme.md 2021-09-06 01:11:20 +02:00
Aevann1
1275bdc120
Update readme.md 2021-09-06 01:06:14 +02:00
Aevann1
543cf3e1ed
Update readme.md 2021-09-05 16:41:33 +02:00