Commit graph

72 commits

Author SHA1 Message Date
ed 4f264a0a9c add idp-cache editor ui 2025-07-07 12:52:31 +00:00
thaddeus kuah 4b876dd133 full lowercase on login button to match the page
Signed-off-by: thaddeus kuah <tk@tkkr.dev>
2025-04-11 23:56:51 +02:00
ed 3bb7b677f8 jinja optimizations 2024-12-20 16:34:17 +00:00
ed eaa4b04a22 list recent uploads
also makes the unpost lister 5x faster
2024-12-18 22:17:30 +01:00
ed 8aba5aed4f list active downloads in controlpanel 2024-11-10 02:12:18 +00:00
ed dd6dbdd90a http 304: client-option to force-disable cache
an extremely brutish workaround for issues such as #110 where
browsers receive an HTTP 304 and misinterpret as HTTP 200

option `--no304=1` adds the button `no304` to the controlpanel
which can be enabled to force-disable caching in that browser

the button is default-disabled; by specifying `--no304=2`
instead of `--no304=1` the button becomes default-enabled

can also always be enabled by accessing `/?setck=no304=y`
2024-10-26 17:56:54 +00:00
ed 88a1c5ca5d optimize non-e2d ram usage down to 10% or so
drop chunk-hashes in the up2k snap, plus other insignificant attribs
to reduce both the snapfile size and the ram usage by about 90%

reduces startup/shutdown time by a lot since there's less to serdes
(does not affect -e2d which was already optimal)

other changes:

* improve incoming-eta accuracy when the initial handshake
   was made a long time before the upload actually started

* move the list of incoming files in the controlpanel to the top
2024-09-27 21:11:10 +00:00
ed 609c5921d4 list incoming files + ETA in controlpanel 2024-09-10 21:24:05 +00:00
ed 7ff46966da fix some issues with shares mentioned in #84;
* crash when root volume is unmapped
* rephrase login-page for shares
* add chrome support (lol)
* fix confusing helptext
* improve ux
  * placeholders in share creator
  * button to disable expiration in share creator
  * human-readable timestamps in share listing
2024-08-19 21:38:47 +00:00
ed c4b0cccefd v1.14.0 2024-08-18 23:11:36 +00:00
ed 7c2beba555 add file/folder sharing; closes #84 2024-08-18 22:49:13 +00:00
ed 83fb569d61 make passwords user-changeable; closes #92 2024-08-14 20:09:57 +00:00
ed dbd42bc6bf add option to load custom js on all pages 2024-08-11 23:51:17 +00:00
ed f8491970fd remember url-hash during login from 403 2024-05-05 22:37:41 +00:00
ed 36f2c446af opengraph stuff:
* template-based title formatting
* picture embeds are no longer ant-sized
* `--og-color` sets accent color; default #333
* `--og-s-title` forces default title, ignoring e2t
* add a music indicator to song titles because discord doesn't
2024-05-03 00:11:40 +00:00
ed fe700dcf1a v1.12.2 2024-04-12 21:10:02 +00:00
ed da26ec36ca add password placeholder on login page
was easy to assume you were supposed to put a username there
2024-04-11 19:31:02 +00:00
ed 1c011ff0bb hide k304 config from controlpanel by default;
as this option is very rarely useful, add global-option `--k304` to
unhide the button and/or set it default-enabled

the toggle will still appear when the feature was previously enabled by
a client, and the feature is still default-enabled for all IE clients
2024-03-09 17:50:24 +00:00
ed 263adec70a add support for custom fonts; closes #74 2024-02-24 23:30:17 +00:00
ed d39a99c929 add trailing empty line to jinja templates;
jinja strips the trailing newline which makes the
responses annoying to parse in bulk
2024-02-21 18:51:10 +00:00
ed b32d65207b fix js-error on older chromes in incognito mode;
window.localStorage was null, so trying to read would fail

seen on falkon 23.08.4 with qtwebengine 5.15.12 (fedora39)

might as well be paranoid about the other failure modes too
(sudden exceptions on reads and/or writes)
2024-01-24 02:24:27 +00:00
ed fc9b729fc2 fix #51:
* handle unexpected localstorage values
* handle unsupported --lang values
2023-09-30 22:54:21 +00:00
ed bee26e853b show server hostname in html titles:
* --doctitle defines most titles, prefixed with "--name: " by default
* the file browser is only prefixed with the --name itself
* --nth ("no-title-hostname") removes it
* also removed by --nih ("no-info-hostname")
2023-08-14 23:50:13 +02:00
ed 96d6bcf26e if non-TLS, show warning in the login form 2023-02-17 22:49:03 +00:00
ed 190ccee820 add optional version number on controlpanel 2023-02-04 13:41:34 +00:00
ed cfd24604d5 ux tweaks 2023-01-17 23:21:31 +00:00
ed 18942ed066 location-based rproxy fixes 2023-01-16 20:09:45 +00:00
ed baf641396d add optional powered-by footnode 2023-01-15 20:52:38 +00:00
ed db194ab519 support location-based rproxy 2022-12-10 23:43:31 +00:00
ed e357aa546c add browserchrome color hint 2022-11-28 21:19:42 +00:00
ed f0e78a6826 add landing page with mounting instructions 2022-11-26 19:47:27 +00:00
ed e24ffebfc8 indicate write-activity on splashpage 2022-07-27 14:53:15 +02:00
ed dded4fca76 option to specify favicon + default-enable it 2022-07-05 00:06:22 +02:00
ed 7d10c96e73 grammar 2022-05-18 19:33:20 +02:00
ed 1f6f89c1fd apply default-language to splashpage 2022-05-18 19:02:36 +02:00
ed ddaaccd5af ux tweaks 2022-05-16 18:56:53 +02:00
ed e7cd922d8b translate splashpage and search too 2022-05-15 13:20:52 +02:00
ed a2c0c708e8 focus password field if not logged in 2022-05-07 22:16:12 +02:00
ed 9838c2f0ce golf 2022-04-24 23:47:15 +02:00
ed 1f3c46a6b0 forgot some css files 2022-04-15 17:11:46 +02:00
ed 2dbed4500a add flat theme 2022-04-14 16:57:51 +02:00
ed f3e8308718 eh, better as volflags 2022-03-20 05:45:07 +01:00
ed 954c7e7e50 add option to request noindex from crawlers 2022-03-20 03:23:42 +01:00
ed 689e77a025 option to set a custom servicename 2021-12-06 22:24:25 +01:00
ed 4a843a6624 unflicker navpane + add client state escape hatch 2021-12-04 02:46:00 +01:00
ed edbedcdad3 v1.1.3 2021-11-20 02:27:09 +01:00
ed cae436b566 add client-option to disconnect on HTTP 304 2021-11-15 02:45:18 +01:00
ed a90586e6a8 add reload api 2021-11-06 19:05:58 +01:00
ed f93212a665 add logout button to contrl panel 2021-10-27 01:27:59 +02:00
ed 79629c430a add refresh button on volumes listing 2021-10-26 23:58:10 +02:00