Commit graph

9 commits

Author SHA1 Message Date
Random Penguin
0315fee3e3
Update browser.js
Adds image URL to return data from modal to be consistent with what the browser.js script for the Frio theme returns. This also means my Cover Photo add-on does not have to extract the URL from the embed code in other themes.
2025-09-01 13:48:58 -05:00
Random Penguin
741260ca3f
Update browser.js
Fix for Vier and other themes that use default Photo Browser modal and cannot navigate to albums.

`location.reload()` appeared to be overriding the `location.href` just above it that actually take you to the album. So it was taking you there but then immediately reloading the modal back to the "Recent Photos" page.
2025-08-31 17:27:59 -05:00
642f2c73d7 REUSE some more JS files from the themes 2024-08-26 06:59:37 +02:00
4cbc213dda REUSE view directory 2024-08-24 14:15:18 +02:00
Philipp
272911527c
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-27 01:52:14 +01:00
012f486eb6
Adhere feedback 2022-11-27 01:34:59 +01:00
fabrixxm
7f695197aa Fix review points
- Fix headers hierarchy
- Improve accessibility:
 	- set mouse pointer
	- make rows focusable
	- open on key press
	- add tooltip with "title"
	- add role and aria attributes
- Rename `ParsedLog` to `ParsedLogLine`
- Add docs to `ReversedFileReader`'s implementation of `Iterator`'s methods
- Add docs to `ParsedLogIterator`'s implementation of `Iterator`'s methods
- Remove unnecessary comment
- Add more test for parsing log lines and fix some edge cases
- Fix function name in snake-case to camelCase
- Remove `DIRECTORY_SEPARATOR`
2021-08-20 11:02:18 +02:00
fabrixxm
9368f5445d Display structured logs in admin
Tries to parse log lines and to display info in a table.
Additional JSON data is parsed and displayed clicking on a row.

File reading and line parsing is handled in iterators, to avoid to keep
too much data in memory.
Search and filter should be trivial to add.
Log file is read backward to display log events newest first.
A "tail" functionality should be easy to implement.
2021-08-19 14:55:33 +02:00
cc007f715d Add sortability to custom profile fields form 2020-01-22 19:42:36 -05:00