* fix cancel button on edit modal
* make hardcoded mod text dynamic for plugins
* fix files path when clicking an external plugin
* fix plugins path for file uploads
* improve friendly mod name logic
* fix toggling plugins
* update pyroServers content definitions
* install then remove for changing version
Reinstall isn't currently implemented properly
* make the edit dialog pretty
* make new admonition component
* fix warning admonition colour
* new edit version modal
* cleanup
* make latest version default
* final touches
* lint
Fixes#3176
**Changes**:
- Sets the pagination to page one if the search is updated. This is the norm on most websites, and how users expect it to work.
- Join `setPage` into `updateSearchResults`
- Take a page number in `updateSearchResults`
- Remove unused param to `updateSearchResults`
- Update `watch` to not double requests
- use `scrollToTop` utility function
* Start work on refactoring date range system.
* Use timeResolution terminology.
* "Last month" initial default.
* Migrate fully to dayjs - ease of use.
* Discard changes to pnpm-lock.yaml
* utilize getter
* Fix date label in ChartDisplay.vue
* Finish cleanup
* Update STAGING_API_URL in nuxt.config.ts
* Lint fixes
* Refactor ChartDisplay.vue to handle loading state in selectedRange and formattedCategorySubtitle
* Remove modal impl
---------
Signed-off-by: Calum H. <contact@mineblock11.dev>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
* feat: Automatically open download modal when filter queries are present
* chore: Use a hash to open the modal, and make the filter queries independent of the modal
* chore: Correct to use emit for taking functions
* chore: Add filter query and download hash to the url during modal use, and fix linting issues
* chore(frontend): Undo changes to NewModal
My computer does not like running the app, making testing a lot harder, so I'll undo this change, at least for now
* Remove extra line
---------
Signed-off-by: Prospector <6166773+Prospector@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
* feat: Automatically open download modal when filter queries are present
* chore: Use a hash to open the modal, and make the filter queries independent of the modal
* chore: correctly type suspension reason
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: faulty suspension condition allowing for fallthrough
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: here as well
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: add support suspension reason
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: handle support suspensions
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: patch pyroservers to handle 503
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: handle 503 in server root
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: dont make pyroservers errors scream at me anymore
Signed-off-by: Evan Song <theevansong@gmail.com>
---------
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: only scroll up if scrolled down
* feat: no query results message
* feat: content files support, mobile fixes
* fix(drag & drop): type of file prop
* chore: show number of mods in searchbar
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: adjust btn styles
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: prepare for mod author in backend response
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: external mods & mobile
* chore: adjust edit mod version modal copy
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: add tooltips for version/filename
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: swap delete/change version btn
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: dont allow mod link to be dragged
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: oops
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: remove author field
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: drill down tooltip
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: fighting types
Signed-off-by: Evan Song <theevansong@gmail.com>
* prepare for owner field
Signed-off-by: Evan Song <theevansong@gmail.com>
---------
Signed-off-by: Evan Song <theevansong@gmail.com>
Co-authored-by: Evan Song <theevansong@gmail.com>
Co-authored-by: Evan Song <52982404+ferothefox@users.noreply.github.com>
* chore: make serverlisting handle upgrading server state
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: more prominent suspension status bar in server listing
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: handle upgrading in root server page
Signed-off-by: Evan Song <theevansong@gmail.com>
---------
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: dedupe lockfile
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: incorrect spacing between editing and browsing state
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: improve files image viewer toolbar
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: image viewer cursor affordance
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: clean imports
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: add tooltips
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: use black background
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: show scale factor, handle large images, consolidate state
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: add types to fs operations
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: add date create sorting option
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: match name of folder creation modal
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: add it here too
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: add creation date to file item, file manager header
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: a11y
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: ensure move item modal always has leading slash
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: correct move input placeholder
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: correct design disparity
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: add better affordance on active file item state
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: correct instances where we dont sentence case
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: clean
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: notify that server restarted on saveandrestart
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: consolidate error state in file manager
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: adjust sizing
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: drag and drop file items to move them
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: enable ability to drag folders too
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: better file movement toasts
Signed-off-by: Evan Song <theevansong@gmail.com>
* just say u hate me
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: uploading indicator for file uploads
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: cleaner file item ghost when dragging
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: enforce max length and truncate on ghost
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: improve item rename toast
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: improve item create toast
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: undo and redo stack
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: confusing behavior where folders were not sorted alphabetically
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: find and replace in file editor
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: correctly set language mode of file editor
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: slop
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: actually handle case with multiple dots in file name before setting language
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: match move icons in file context/threedot
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: upload indicator
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: dedupe lockfile again
Signed-off-by: Evan Song <theevansong@gmail.com>
* lockfile
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: file undefinedness
Signed-off-by: Evan Song <theevansong@gmail.com>
* checkpoint
Signed-off-by: Evan Song <theevansong@gmail.com>
* checkpoint
Signed-off-by: Evan Song <theevansong@gmail.com>
* checkpoint
Signed-off-by: Evan Song <theevansong@gmail.com>
* remove shitty animation logic
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: file upload queuer
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: only allow editable files to have active affordance
Signed-off-by: Evan Song <theevansong@gmail.com>
* fix: properly throw pyrofetcherror when rename fails
Signed-off-by: Evan Song <theevansong@gmail.com>
* feat: cancel file uploads
Signed-off-by: Evan Song <theevansong@gmail.com>
* chore: clean
Signed-off-by: Evan Song <theevansong@gmail.com>
---------
Signed-off-by: Evan Song <theevansong@gmail.com>