Commit Graph

15 Commits

Author SHA1 Message Date
Jason Rhinelander e41b1e8f12
Remove debug 2022-03-03 23:52:03 -04:00
Jason Rhinelander c9643ef4c0
Fix /file/123 endpoint 2022-03-03 23:49:44 -04:00
Jason Rhinelander fcd07b6502
Merge pull request #1 from jagerman/v4-onion-requests
Add v4 onion requests
2022-02-24 12:54:56 -04:00
Jason Rhinelander 3257d5fa3a
Misc fixes
- Confine cleanup to first worker process
- fix import script `config` import
2022-02-23 21:32:30 -04:00
Jason Rhinelander c4e8767556
Add v4 onion requests
Copied over from sogs (and slightly modified to remove optional
sogs-specific bits).

Adds a pytest suite with onion request tests.

Also migrates to the deb.oxen.io oxenmq and pyonionreq python packages.
2022-02-23 21:14:07 -04:00
Jason Rhinelander a20948c6b4 Flask 1.x compatibility 2021-11-24 13:10:55 -04:00
Jason Rhinelander 66be5a80da Add missing file 2021-11-24 12:50:27 -04:00
Jason Rhinelander 1f26ea694e Fix sample config 2021-11-24 12:46:33 -04:00
Jason Rhinelander a708269662 Various fixes for current Session compat 2021-11-24 12:42:58 -04:00
Jason Rhinelander db6fd70428 Make import executable 2021-11-24 10:41:41 -04:00
Jason Rhinelander 6633a7918b Split up code similarly to what pysogs does 2021-11-22 12:24:34 -04:00
Jason Rhinelander 91f2dc3911 Onion request handling WIP 2021-10-30 14:07:32 -03:00
Jason Rhinelander 7e74a506d9 Fix issue with multi-processed
uwsgi-emperor preforks, which causes hell with the psql connections;
this fixes the issues by moving the connection pool setup into a
postfork handler.
2021-10-28 02:04:07 -03:00
Jason Rhinelander 72adde35cc Fix pool connection args 2021-10-23 14:08:36 -03:00
Jason Rhinelander 1b7f5afa28 Initial import 2021-10-18 23:59:48 -03:00