Commit Graph

370 Commits

Author SHA1 Message Date
BobbyWibowo
e780444cb8 dist: rebuilt client assets and bumped v1 version string 2022-09-29 21:04:48 +00:00
Bobby
f7b4ebfc5c
feat: simple lightbox on album pages 2022-09-30 04:02:28 +07:00
BobbyWibowo
fae8dd9cae dist: rebuilt client assets and bumped v1 version string 2022-09-24 02:56:06 +00:00
Bobby
aebeb8e045
feat: filter uploads using relative time duration
added a new production dependency parse-duration@~1.0.2

read filters help popup in dashboard for usage example
2022-09-24 09:54:49 +07:00
BobbyWibowo
94cfb8617c dist: rebuilt client assets and bumped v1 version string 2022-09-24 01:40:30 +00:00
Bobby
f989558dc2
chore: improve uploads filter help message 2022-09-24 08:39:08 +07:00
Bobby
216ba12b3e
feat: filter uploads with unix timestamp dates 2022-09-24 08:38:43 +07:00
Bobby
9af34a08f8
fix: non-sort filter keys getting removed 2022-09-24 08:21:01 +07:00
Bobby
a44af208aa
feat: click on table headers to sort uploads
fairly robust logic, with auto toggling of asc or desc sort direction
2022-09-24 08:09:27 +07:00
BobbyWibowo
4b55f33243 dist: rebuilt client assets and bumped v1 version string 2022-09-19 00:14:14 +00:00
Bobby
db03240d06
feat: show file's upload date in album pages 2022-09-19 07:13:09 +07:00
BobbyWibowo
ff397fbf28 dist: rebuilt client assets and bumped v1 version string 2022-09-17 04:38:38 +00:00
Bobby
3b3ae0b60b
chore: trigger assets rebuild 2022-09-17 11:37:14 +07:00
BobbyWibowo
1ddc8eeabd dist: rebuilt client assets and bumped v1 version string 2022-08-19 03:39:23 +00:00
Bobby Wibowo
991cfe134e
feat: add cpu temp and swap memory to statistics
temp is currently hard-coded to C

also increased system info caching to 1s
2022-08-19 10:38:24 +07:00
BobbyWibowo
b18b2ee312 dist: rebuilt client assets and bumped v1 version string 2022-08-19 00:42:07 +00:00
Bobby Wibowo
29c05a9046
fix: home uploader standardized headers set
it'd previously set the string-representation for non-string values
e.g. "null" for null, etc.

auth token is now also set on as axios' default common headers,
just like in dashboard.js, etc., to avoid re-setting it everytime
2022-08-19 07:40:48 +07:00
BobbyWibowo
493d2a8df3 dist: rebuilt client assets and bumped v1 version string 2022-08-07 23:09:47 +00:00
Bobby Wibowo
253042e24e
fix: improve filtering uploads by album ids
database logic and dashboard display
2022-08-08 06:08:40 +07:00
Bobby Wibowo
e0d0694a30
fix: frontend errors handling 2022-08-08 05:42:40 +07:00
BobbyWibowo
52299408ae dist: rebuilt client assets and bumped v1 version string 2022-08-07 14:50:44 +00:00
Bobby
b48d8678fd
fix: bump version string for fontello font files
i forgot this is required
2022-08-07 21:50:05 +07:00
BobbyWibowo
b352de8395 dist: rebuilt client assets and bumped v1 version string 2022-08-07 14:45:42 +00:00
Bobby
a46a488dfd
feat: added server icon to fontello 2022-08-07 21:43:18 +07:00
BobbyWibowo
bdf6557368 dist: rebuilt client assets and bumped v1 version string 2022-08-04 16:49:25 +00:00
Bobby Wibowo
8c26fa4ffa
feat: better axios errors handling 2022-08-04 23:47:48 +07:00
BobbyWibowo
238e6b9bc3 dist: rebuilt client assets and bumped v1 version string 2022-08-01 08:22:10 +00:00
Bobby Wibowo
d833ec26e7
feat: show album id in dashboard's uploads list 2022-08-01 15:18:45 +07:00
BobbyWibowo
2b2a7c407d dist: rebuilt client assets and bumped v1 version string 2022-07-31 09:04:15 +00:00
Bobby Wibowo
40675e2a40
fix: dashboard select all checkbox logic 2022-07-31 16:03:02 +07:00
BobbyWibowo
4add610864 dist: rebuilt client assets and bumped v1 version string 2022-07-31 08:56:32 +00:00
Bobby Wibowo
285e79c5a7
feat: configurable uploads/albums/users per page
please check sample.config.js for new options

if missing from config, defaults to 25 per page (old defaults)
2022-07-31 15:51:32 +07:00
BobbyWibowo
8f46925352 dist: rebuilt client assets and bumped v1 version string 2022-07-25 00:43:06 +00:00
Bobby Wibowo
129a146213
chore: trigger assets rebuild
it failed in commit ec4d54573a
because i pushed another commit too soon
2022-07-25 07:41:44 +07:00
Bobby Wibowo
6ba30a23c6
feat: improved chunked uploads lifecycle
added checks when there's an attempt to uploads chunks to same file in
parallel

improved final file size checks
2022-07-25 07:09:28 +07:00
BobbyWibowo
970d53c7dc dist: rebuilt client assets and bumped v1 version string 2022-07-21 20:18:56 +00:00
BobbyWibowo
3b2174b018 dist: rebuilt client assets and bumped v1 version string 2022-07-15 20:03:40 +00:00
Bobby
2e5a2edf70
fix: align scss with standard-scss@5 2022-07-16 03:02:36 +07:00
BobbyWibowo
df1cf89a1c dist: rebuilt client assets and bumped v1 version string 2022-07-10 09:28:02 +00:00
Robert Pendell
4324fbccee
fix: correct typo in generated ShareX config (#533)
Should be MultipartFormData instead of MultipartFromData.
2022-07-10 16:27:00 +07:00
BobbyWibowo
bd797f2c27 dist: rebuilt client assets and bumped v1 version string 2022-06-30 12:43:03 +00:00
Bobby Wibowo
6ef911538e
fix: home not showing pretty bytes when private 2022-06-30 19:41:47 +07:00
BobbyWibowo
de54eb92f2 dist: rebuilt client assets and bumped v1 version string 2022-06-28 06:39:35 +00:00
Bobby
7c4206a4e2
fix: src/js/file.js 2022-06-28 13:36:17 +07:00
BobbyWibowo
4f2cf3123b dist: rebuilt client assets and bumped v1 version string 2022-06-28 06:03:46 +00:00
Bobby
8cbdca4efc
fix: always try to load file as image in info page 2022-06-28 13:02:38 +07:00
BobbyWibowo
6b8b1528e2 dist: rebuilt client assets and bumped v1 version string 2022-06-28 05:54:03 +00:00
Bobby
2465864c53
feat: copy to clipboard button in file info page 2022-06-28 12:52:50 +07:00
Bobby
9eb46b7986
feat: add link to file info page in dashboard 2022-06-28 12:31:35 +07:00
Bobby
8f20423163
feat: add info icon to fontello 2022-06-28 12:31:13 +07:00
Bobby
e6ae519af1
chore: src/js/player.js 2022-06-28 12:03:56 +07:00
Bobby
b17b24b159
feat: new page /file/:identifier
this will display all information recorded from the specified file, but
only to the users that own them (it requires token)

this page also has a delete file button, allowing us to provide link to
this page for sharex deletion url option

once again, this is only for authenticated users, and will only show
file that the users own, unless said user is a moderator or higher
2022-06-28 12:03:49 +07:00
Bobby
5eefc0b1d0
chore: add version to sharex config
i assume sharex may have config migration feature one day by comparing
version strings
2022-06-28 11:58:41 +07:00
Bobby
2b195652a5
fix: long file names in dashboard preview dialogs 2022-06-28 08:57:49 +07:00
Bobby
9e4d477d09
chore: improved some README.md's 2022-06-28 08:17:02 +07:00
BobbyWibowo
ac4ac73d50 dist: rebuilt client assets and bumped v1 version string 2022-06-24 03:01:52 +00:00
Bobby Wibowo
5db35a1023
ci(actions): fix sass-embedded
it seems that when caniuse-lite gets updated, sass-embedded will get
removed from cached node_modules
so we try to always re-install it perhaps
2022-06-24 10:00:56 +07:00
BobbyWibowo
4e08be96a9 dist: rebuilt client assets and bumped v1 version string 2022-06-24 02:58:38 +00:00
Bobby Wibowo
6f355e9132
chore: trigger assets rebuild 2022-06-24 09:57:36 +07:00
BobbyWibowo
a1dddac5f0 dist: rebuilt client assets and bumped v1 version string 2022-06-22 10:18:59 +00:00
Bobby Wibowo
784f50d9a1
chore: trigger assets rebuild 2022-06-22 17:17:57 +07:00
BobbyWibowo
55413fcfb7 dist: rebuilt client assets and bumped v1 version string 2022-06-22 10:10:20 +00:00
Bobby Wibowo
06857dff02
fix: render.js 2022-06-22 17:09:32 +07:00
BobbyWibowo
682c00a0bb dist: rebuilt client assets and bumped v1 version string 2022-06-22 09:53:33 +00:00
Bobby Wibowo
8a9f0b412f
feat: removed default home renders 2022-06-22 16:52:14 +07:00
BobbyWibowo
e79bb77a25 dist: rebuilt client assets and bumped v1 version string 2022-06-22 04:46:11 +00:00
Bobby Wibowo
954df13aa2
fix: better null domain fallback logic 2022-06-22 11:22:35 +07:00
BobbyWibowo
1face70eca dist: rebuilt client assets and bumped v1 version string 2022-06-08 14:54:56 +00:00
Bobby Wibowo
e8b7a85b8d
chore: src/js/.eslintrc.js 2022-06-08 21:53:43 +07:00
BobbyWibowo
1cd9894333 dist: rebuilt client assets and bumped v1 version string 2022-05-27 06:46:02 +00:00
Bobby
b2a11ae42c
feat: added loop button to video.js player 2022-05-27 13:44:46 +07:00
Bobby
7d2e2d97e0
feat: use fontello for video.js seek buttons 2022-05-27 13:44:22 +07:00
BobbyWibowo
0d6323053f dist: rebuilt client assets and bumped v1 version string 2022-05-27 06:37:44 +00:00
Bobby
ab94bf1c38
feat: added 3 new icons to fontello
fast forward, fast backward, clockwise/loop/repeat
2022-05-27 13:36:24 +07:00
BobbyWibowo
832ce2df5c dist: rebuilt client assets and bumped v1 version string 2022-05-27 05:43:07 +00:00
Bobby
7c44e9dbb8
fix: align src/libs/fontello.css with stylelint 2022-05-27 12:41:53 +07:00
Bobby
a3aeb63790
fix: let wavesurfer use its default backend
forcefully setting it to WebAudio seemingly disable progress bar on my
Firefox Desktop for some reason
perhaps it actually disabled the fallback mechanism
2022-05-27 11:50:03 +07:00
BobbyWibowo
897523363b dist: rebuilt client assets and bumped v1 version string 2022-05-27 04:34:44 +00:00
Bobby
f54ce96c23
feat: wavesurfer use WebAudio backend by default
supposedly it will automatically fallback to MediaElement on unsupported
browsers
2022-05-27 11:33:32 +07:00
Bobby
3ec7e6c76c
fix: responsive video.js audio waveform 2022-05-27 11:32:35 +07:00
BobbyWibowo
b3535969dd dist: rebuilt client assets and bumped v1 version string 2022-05-24 00:03:19 +00:00
Bobby
110aab097b
chore: versioned git urls in comments
future-proofing
2022-05-24 07:02:06 +07:00
BobbyWibowo
630d95be02 dist: rebuilt client assets and bumped v1 version string 2022-05-21 09:57:57 +00:00
Bobby Wibowo
57d984336c
chore: trigger assets rebuild 2022-05-21 16:56:32 +07:00
BobbyWibowo
04d2dff0f6 dist: rebuilt client assets and bumped v1 version string 2022-05-06 19:18:39 +00:00
Bobby
2d147e748b
feat: usergroup-based file retention periods
this supersedes the old temporaryUploadAges, while maintaining full
backwards-compatibility.

please consult config.sample.js if you want to start using this
2022-05-07 02:17:31 +07:00
BobbyWibowo
647f0b308d dist: rebuilt client assets and bumped v1 version string 2022-05-06 15:24:06 +00:00
Bobby
8419b18e8a
chore: trigger actions 2022-05-06 22:22:53 +07:00
BobbyWibowo
b17ea6c8bd dist: rebuilt client assets and bumped v1 version string 2022-05-06 14:59:37 +00:00
Bobby
b35f4ae6eb
fix: remove token from local storage if invalid
this required expanding our custom error classes with support for
arbitrary internal api error codes

however it'll only be used for invalid token errors for now (10001)

no plan to assign codes to other existing api errors
at that point it's probably better to redo the whole api infrastructure
2022-05-06 21:58:23 +07:00
BobbyWibowo
3f900a1ac5 dist: rebuilt client assets and bumped v1 version string 2022-05-06 13:49:36 +00:00
Bobby
ba9c9eddd7
feat: datasets of bytes and timestamps
on the associated front-end elements

perhaps useful for those that want to hack the display with userscript,
without having to dig cached values in global page object
2022-05-06 20:48:24 +07:00
Bobby
4fa3a54729
feat: show am/pm on date
we are cheating by using Date.toLocaleString(), that is fixed to "en"
locale, for the time portion of the date
2022-05-06 20:45:40 +07:00
BobbyWibowo
dbc0a82186 dist: rebuilt client assets and bumped v1 version string 2022-05-05 06:59:53 +00:00
Bobby
450bf72e7a
feat: allow mods to actually delete albums 2022-05-05 13:58:54 +07:00
BobbyWibowo
11030ff2f5 dist: rebuilt client assets and bumped v1 version string 2022-05-05 06:18:53 +00:00
Bobby
39b7d96b8f
feat: static preview of album description markdown
in dashboard's edit album prompt
2022-05-05 13:17:32 +07:00
BobbyWibowo
c9e84b5c24 dist: rebuilt client assets and bumped v1 version string 2022-04-20 20:10:08 +00:00
Bobby
c3f8e3e213
fix(deps): add waversurfer.js source map 2022-04-21 03:09:10 +07:00
BobbyWibowo
cf1475197e dist: rebuilt client assets and bumped v1 version string 2022-04-20 12:31:21 +00:00