Commit Graph

683 Commits (9ab3b42e32eb8b6b338d37fbdfc31efa7bd2e8aa)

Author SHA1 Message Date
_ 31626844ca ⬆️ deps: cargo update 2020-12-12 05:31:29 +00:00
_ 1c798afdf0 📦 build (ptth_relay): update ID of bottom layer that we minimize out 2020-12-12 05:23:23 +00:00
_ 8e171fbf08 ⬆️ deps (ptth_relay): update Docker build to Rust 1.48 and latest Buster 2020-12-12 05:18:29 +00:00
_ 0c5a37b441 🐳 build (ptth_relay): clean up Docker build process
The new method is much nicer and doesn't require the manual make-old-git
step. The top-level command is actually build_and_minimize.bash, which uses
`git archive` to unpack the last Git commit and build with _that_ Dockerfile
and Docker context. This is better for determinism. It's similar to our build
process for that one big project at work.
2020-12-12 05:08:58 +00:00
_ 951fe27b5f update (build scripts): remove old build.bash
It was one line and wasn't used
2020-12-12 01:35:47 +00:00
_ f6486b2c1a 🔧 config (ptth_relay): add feature flags
- dev mode
- scraper auth

These will gate features I'm adding soon.
2020-12-12 01:26:58 +00:00
_ 4014290f98 📝 docs (YNQAQKJS) add plan for 3rd auth route 2020-12-11 21:04:59 +00:00
_ c4b12eb806 🏁 Builds on Windows. 2020-12-10 06:24:56 +00:00
_ 865bd1f01f 🚧 Can't remember what I was working on here 2020-12-10 05:49:23 +00:00
_ 4cbb4b72ca 🚧 🐳 Experimenting with a new Dockerfile 2020-12-01 14:47:55 +00:00
_ e8c020fbc6 Update --print-tripcode option 2020-11-30 16:15:27 +00:00
_ bbeb406032 Removed unused dep 2020-11-30 16:15:22 +00:00
_ 00c29a6464 :docker: Fix Dockerfile again 2020-11-30 15:57:14 +00:00
_ b40eda4a69 🐛 Fix tests 2020-11-30 15:55:14 +00:00
_ e59bb5b7bc 💥 Break relay config again 2020-11-30 15:52:15 +00:00
_ 14df0bdf92 🐳 Fix Docker 2020-11-29 23:47:02 +00:00
_ 7925d9be95 ♻️ Move server endpoints to their own file 2020-11-29 23:24:25 +00:00
_ 8079b3f778 ♻️ Remove "internal" from names in the internal module 2020-11-29 23:15:45 +00:00
_ bb4c4e803a ♻️ Extract file server internal parts to their own file 2020-11-29 23:12:56 +00:00
_ 6e6e062c51 ♻️ Move Markdown previewing to its own file 2020-11-29 22:58:38 +00:00
_ ab95485d92 ♻️ Fix clippy issues 2020-11-29 22:41:48 +00:00
_ b94a3a1e17 Move byte range code into its own file 2020-11-29 22:31:54 +00:00
_ b43a6c2e4b ♻️ Move emoji icons into one place 2020-11-29 22:12:25 +00:00
_ 028970cdf0 ♻️ Remove the hyper dep from ptth_server.exe 2020-11-29 21:55:24 +00:00
_ f4b0c64e01 ♻️ Move ptth_file_server into a bin crate so ptth_server can shed some
dependencies
2020-11-29 21:42:03 +00:00
_ d6430e39a9 ♻️ Get rid of more unwraps and panics 2020-11-29 21:38:23 +00:00
_ 7bd2450698 ♻️ Fix pedantic clippy warnings 2020-11-29 20:22:40 +00:00
_ eada65d94b ♻️ Remove unwraps from file server module 2020-11-29 19:59:47 +00:00
_ f212931842 ♻️ Remove more unwraps 2020-11-29 19:47:40 +00:00
_ 720aae2201 ♻️ Working on errors for file server and server 2020-11-29 19:19:59 +00:00
_ c3ff3deb8e ♻️ Fix some clippy warnings 2020-11-29 19:05:28 +00:00
_ 47c59447f3 ♻️ Splitting tests for file server into their own tests.rs 2020-11-29 18:50:51 +00:00
_ aad7f8e729 ♻️ Remove all practically removable unwraps from ptth_relay 2020-11-29 18:39:51 +00:00
_ 687cffdf90 ♻️ Fixing clippy lints 2020-11-29 18:37:33 +00:00
_ 5c0d7ea998 ♻️ Removing unwraps 2020-11-29 17:09:25 +00:00
_ bf96d400b2 ♻️ Removing unwraps 2020-11-29 17:09:19 +00:00
_ 3e74f2b1ef ♻️ Fix unwrap()s in ptth_core.
Some were in an unused function, so I removed that function.

Some were in graceful_shutdown and can't really be handled. So I made
them into "expect"s
2020-11-29 16:36:59 +00:00
_ 5f9e84f7f6 🐳 Fix Docker 2020-11-27 01:07:39 +00:00
_ bbb88c01e8 ♻️ Extract ptth_server crate. Docker still broken 2020-11-27 00:50:22 +00:00
_ 4c9595ee2e ♻️ Extract crate ptth_relay 2020-11-27 00:20:18 +00:00
_ 84bb326f37 ♻️ Extract crate ptth_core 2020-11-27 00:03:11 +00:00
_ 64a0d90762 ♻️ Move git_version into relay 2020-11-26 23:53:03 +00:00
_ a6ecb1c6a8 ♻️ Move load_toml into server 2020-11-26 23:51:10 +00:00
_ c4108f6f2f Move the bad passwords code into the server module since the relay doesn't need it 2020-11-26 23:41:32 +00:00
_ 7c2ce65864 ♻️ Extract src/tests.rs 2020-11-26 23:33:10 +00:00
_ 28ce6a32cd 💄 Show servers in the server list even if they aren't connected yet 2020-11-26 23:31:23 +00:00
_ bf4e5c7a5b ♻️ Planning changes to relay config 2020-11-26 21:50:55 +00:00
_ 8369dc8675 Reload relay config every minute 2020-11-25 03:09:21 +00:00
_ b40233cc62 ♻️ Wrap relay config in a RwLock 2020-11-25 02:30:57 +00:00
_ 7aafbba4d9 Add "last seen" to server list 2020-11-25 02:17:08 +00:00