Commit Graph

172 Commits

Author SHA1 Message Date
Bobby
8051879670
fix: album lightbox not working with GIFs
also updated simple-lightbox from 2.10.3 to 2.14.2
2023-09-06 23:57:46 +07:00
Bobby
69b97e51e0
fix: albums page' uploads date 2022-10-09 05:17:24 +07:00
Bobby
c192bf8c25
perf: lazyload album pages' images detailing
e.g. prettify size & date functions
2022-10-09 01:55:56 +07:00
Bobby
327d78c008
feat: improve dashboard fade in animations
expand the function to support arbritrary elements other than main dom

refreshing stats category will now apply fade in animation to them

class for fade in animation is now global (style.scss), preparing for
expanded usage on other pages
2022-10-08 18:03:50 +07:00
Bobby
5c8f004b22
feat: button to reload stats per category 2022-10-08 17:48:54 +07:00
Bobby
c5bee11a42
feat: prep stats api to allow pre-category refresh
via /api/stats/:category
2022-10-08 16:39:28 +07:00
Bobby
e7d343e70f
fix: display for unavailable stats entries 2022-10-06 23:12:50 +07:00
Bobby
3b2808f0fd
fix: failsafes for stats null values 2022-10-06 05:12:25 +07:00
Bobby
cd5d2f63ea
fix: number formatting in stats nested values 2022-10-06 04:57:16 +07:00
Bobby
7f1e736305
feat: filter uploads by type-is from stats menu 2022-10-06 04:16:31 +07:00
Bobby
c35fd3057c
feat: filter uploads by mime types from stats menu 2022-10-06 03:57:47 +07:00
Bobby
10c2618ef6
feat: filter uploads by mime types 2022-10-06 03:36:34 +07:00
Bobby
0c0b2aa3d1
feat: StatsManager 2022-10-06 02:46:49 +07:00
Bobby
364e16af7f
feat: update src/js/.eslintrc.js
enable no-undefined rule, and disable no-void rule
2022-10-06 02:46:13 +07:00
Bobby
d60de02faa
fix: album page header's total size text
also simplify various logics
2022-10-01 23:55:12 +07:00
Bobby
f7b4ebfc5c
feat: simple lightbox on album pages 2022-09-30 04:02:28 +07: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
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
Bobby
db03240d06
feat: show file's upload date in album pages 2022-09-19 07:13:09 +07: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
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
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
Bobby Wibowo
8c26fa4ffa
feat: better axios errors handling 2022-08-04 23:47:48 +07:00
Bobby Wibowo
d833ec26e7
feat: show album id in dashboard's uploads list 2022-08-01 15:18:45 +07:00
Bobby Wibowo
40675e2a40
fix: dashboard select all checkbox logic 2022-07-31 16:03:02 +07: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
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
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
Bobby Wibowo
6ef911538e
fix: home not showing pretty bytes when private 2022-06-30 19:41:47 +07:00
Bobby
7c4206a4e2
fix: src/js/file.js 2022-06-28 13:36:17 +07:00
Bobby
8cbdca4efc
fix: always try to load file as image in info page 2022-06-28 13:02:38 +07: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
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 Wibowo
06857dff02
fix: render.js 2022-06-22 17:09:32 +07:00
Bobby Wibowo
8a9f0b412f
feat: removed default home renders 2022-06-22 16:52:14 +07:00
Bobby Wibowo
954df13aa2
fix: better null domain fallback logic 2022-06-22 11:22:35 +07:00
Bobby Wibowo
e8b7a85b8d
chore: src/js/.eslintrc.js 2022-06-08 21:53:43 +07: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
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
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