Commit Graph

29 Commits

Author SHA1 Message Date
Nadya
f7ec570040 Cleaner regex
This doesn't change any valid matches but does remove some unnecessary cruft. 
Thanks to MegaScience for the second pair of eyes.
2022-07-16 21:29:27 -07:00
Nadya
92c6a77cf8 Regex adjustment for valid paths
This makes further adjustments to the Regex to allow for valid Windows and Linux paths.
- Valid Windows paths can necessarily contain spaces and hyphens as the game's installation path contains both. (eg. `\SquareEnix\FINAL FANTASY XIV - A Realm Reborn`) so a check for `\w` is insufficient
- Valid Linux paths can also be double-slashed (eg. `/path//to//file`)

In addition some pointless optimizations were made by making the groups non-capturing, lazy matching, and including an ending anchor. Because a valid path must necessarily include at least one valid character `*` was changed to `+`.
2022-07-16 19:20:40 -07:00
Stanley Dimant
c6890bdde4 adjust cache directory regex 2022-07-17 02:59:47 +02:00
Stanley Dimant
51366c95a7 prevent secret key input if it's not 40 characters long, check for directory existence in intro ui, check for illegal characters in path 2022-07-17 02:38:56 +02:00
Stanley Dimant
d338b4b93c fix intro UI not showing secret key after registration, fix file system watchers not starting automatically initially 2022-07-10 20:23:02 +02:00
Stanley Dimant
7dccd7b341 why must all of this be async 2022-07-10 16:44:45 +02:00
Stanley Dimant
3a0018988e adjustments and fixes to intro UI 2022-07-09 16:45:36 +02:00
Stanley Dimant
d5486307ee add new main UI, up version 2022-07-08 01:35:09 +02:00
Stanley Dimant
0b194b3632 heave API to v3, fix some stuff in making connections 2022-07-06 12:35:37 +02:00
Stanley Dimant
54abfd74dc remove downloads on cancellation, add note to where to put the cache folder 2022-07-05 22:32:21 +02:00
Stanley Dimant
3b5afb9a60 fixes to intro UI, main UI, don't allow folder to be set to penumbra mod folder 2022-07-05 21:14:01 +02:00
Stanley Dimant
7141c11059 add cache size hard cap based on last access time, remove more unnecessary things 2022-07-05 00:55:07 +02:00
Stanley Dimant
db4d5f37f9 fix crash on logout, change several logger.debug to verbose, adjustments to player cache generation, fixes to file scan manager, better handling disconnects, some refactoring, adjustments to intro UI, correct display of server state 2022-07-04 01:52:08 +02:00
Stanley Dimant
bb7e64b13d fixes for changing servers 2022-07-03 14:20:30 +02:00
Stanley Dimant
cf87ed5019 make download ui clickthrough, add option to move it, add forbidden transfers list 2022-07-03 00:53:05 +02:00
Stanley Dimant
3618540402 rework a lot of stuff: downloads, how to watch a player 2022-06-30 13:24:35 +02:00
Stanley Dimant
eb39429777 add all admin stuff, refactor ApiController into partial classes 2022-06-30 01:53:09 +02:00
Stanley Dimant
95f7e5f867 connect to api only after login, add switching secret keys and inputting secret key during intro, fix filereplacements not working properly, adjust to the new web api 2022-06-29 22:40:17 +02:00
Stanley Dimant
71d48b0d8c rework file cache management, force usage of websocket, add uid comments per server 2022-06-28 23:45:49 +02:00
Stanley Dimant
3ee082d371 some fixes for models sharing materials and code cleanup 2022-06-28 12:20:40 +02:00
Stanley Dimant
61b178e2c0 rework the whole connection garbage/custom servers, other cleanups/refactors 2022-06-27 01:19:45 +02:00
Stanley Dimant
404ba8e278 add file picker for cache folder, revert manually made glamourer changes while mare is active 2022-06-26 19:15:16 +02:00
Stanley Dimant
9aaab87c91 add mare synchronos full pause 2022-06-26 16:39:28 +02:00
Stanley Dimant
f8919abea8 calculate and display local cache size on cache changes, add clear cache button 2022-06-24 18:53:56 +02:00
Stanley Dimant
9b8145fddd add downloads UI, fix some bugs on disconnect 2022-06-24 15:43:39 +02:00
Stanley Dimant
6ee159f716 more refactoring, rework FileCacheManager 2022-06-24 11:22:46 +02:00
Stanley Dimant
2dcd02d170 major refactoring, maybe some bugfixes, idk 2022-06-24 00:47:47 +02:00
Stanley Dimant
99e80aeb4d minor fixes and renamings for intro landing page 2022-06-22 01:28:42 +02:00
Stanley Dimant
4a12d667f1 add intro UI for first time registration, add FileCacheManager to scan and rescan for file changes, fix namings, polish UI for normal usage 2022-06-21 01:07:57 +02:00