Commit Graph

43 Commits

Author SHA1 Message Date
Maschell
4ac4e0a9a6 Init the virtual /fs/ and /fs/vol/ path properly 2022-10-06 19:04:28 +02:00
Maschell
50600d3d82 Always call shutdown for a socket 2022-10-06 19:04:28 +02:00
Maschell
52766cdca1 Stop the server in ON_APPLICATION_ENDS instead of ON_APPLICATION_REQUESTS_EXIT hook 2022-10-06 12:22:49 +02:00
Maschell
2a79fd7862 Fix potential softlock that could happen if the thread was canceled but is not (marked as) terminated 2022-10-06 12:22:49 +02:00
Maschell
9b64c3bb51 Only join the thread if it's not already terminated 2022-10-05 20:09:29 +02:00
Maschell
10838cfafb Make sure the server is destroyed when launching a title 2022-10-05 20:09:29 +02:00
Maschell
45ea7ac07e Do not hardcode the threadname in the CThread class 2022-10-05 20:09:29 +02:00
Vague Rant
6ca2bbda45 Correct line endings in FEAT response 2022-09-23 21:22:20 +02:00
Vague Rant
13e9c38512 Report UTF8 support to clients 2022-09-23 15:24:52 +02:00
Maschell
092142dffd Bump version 2022-09-19 21:51:41 +02:00
Maschell
0f61c1ecfb Add a config menu to enabled/disable the server, see the ip, and enabled/disable access to system files 2022-09-19 14:26:34 +02:00
Maschell
c40df1a909 Update the version and add support using the git hash on nightlies 2022-09-19 13:40:29 +02:00
Maschell
79522dc356 Fix displaying files/dirs with a broken date in some ftp clients 2022-09-06 12:18:46 +02:00
Maschell
21c34020a5 Update libraries 2022-09-04 10:33:48 +02:00
Maschell
acde083dcf Use libmocha instead of libiosuhax 2022-08-27 13:36:49 +02:00
Maschell
be2af9fdf0 Adjust logs to use a proper log-level 2022-05-14 19:54:27 +02:00
Maschell
ed72f45814 Update to logging macros to include the plugin name 2022-05-14 19:54:27 +02:00
Maschell
0b1f944a9a Fix displaying the permissions 2022-05-14 19:54:27 +02:00
Maschell
9269c548aa Formatting 2022-03-03 19:19:01 +01:00
Maschell
b8db1ca6a9 Only return strings from heap, never stack. Fixes access to "/" 2022-03-03 19:19:01 +01:00
Maschell
c0f4ed1863 Try to avoid use after free 2022-02-07 18:51:58 +01:00
Maschell
6b1ad4b64a Fix memory leaks 2022-02-07 18:51:58 +01:00
Maschell
0b57f21408 Add missing shudown call 2022-02-07 18:51:58 +01:00
Maschell
63f21d5a18 Format the code via clang-format 2022-02-04 14:36:55 +01:00
Maschell
5e6e8bdb53 Formatting and cleanup 2022-01-30 21:05:09 +01:00
Maschell
733b2189be Only do logging when built with make DEBUG=1 2022-01-30 20:57:11 +01:00
Maschell
aa8a313291 Give the thread a proper name 2022-01-30 20:52:32 +01:00
Maschell
209ef3d6a1 use WUPS 0.6.1 2021-10-02 11:22:10 +02:00
Maschell
9f784cbf1b Formatting and cleanup 2021-09-24 19:49:11 +02:00
Maschell
f4dd784456 Update Dockerfile 2021-09-24 19:41:27 +02:00
Maschell
dbff9ca577 Update Dockerfile to use WUPS 0.5 2021-09-17 16:53:11 +02:00
Maschell
dd28076063 Compile with latest wut, compile with WUPS 0.5 2021-04-17 14:20:41 +02:00
GaryOderNichts
71ee86025f Add virtual paths to MountVirtualDevices 2021-04-13 19:53:46 +02:00
Maschell
a40b5652e5 Use WUPS 0.4 2021-03-16 17:37:02 +01:00
Maschell
aec8fc5035 Fix some memory leaks 2021-01-01 01:52:20 +01:00
Maschell
c9a655eeee Increase the buffer sizes and align them to 0x40 2021-01-01 01:52:14 +01:00
Maschell
b509af2bf9 Emulate fs:/ and fs:/vol/ in a very hacky way. 2020-12-06 00:04:22 +01:00
Maschell
bfb52bbeb5 Minor improvements 2020-11-26 23:32:44 +01:00
Maschell
5a9aac7d22 Fix unmounting devices 2020-11-26 23:32:30 +01:00
Maschell
090de0e2cc Write the FSA fd to the global variable to be able to close it on exit 2020-10-16 19:21:26 +02:00
Maschell
b46d5f444f Use WHB for logging 2020-06-27 12:27:39 +02:00
Maschell
043089f48a Replace CMutex class by std::recursive_mutex 2020-04-29 17:54:46 +02:00
Maschell
51247b0dc1 first commit 2019-11-24 14:20:08 +01:00