0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-08 20:48:39 +00:00
Commit Graph

783 Commits

Author SHA1 Message Date
Trevor Buckner 88578a3d16 Fix failing test 2024-07-10 14:22:42 -04:00
Trevor Buckner 28446d3ae2 Comments for theme CSS endpoints 2024-07-10 14:21:23 -04:00
Trevor Buckner a247e50c9f renaming "get" functions
rename `getStaticTheme` to `getStaticThemeCSS`
rename `getBrewThemeWithCSS` to `getBrewThemeCSS`
rename `getBrewThemeParent` to `getBrewThemeParentCSS`

to avoid confusion with other "get" endpoints like `getBrew`, and unify naming for endpoint functions that return CSS.

Simplify `isStaticTheme` function (getting the parent theme is handled elsewhere)
2024-07-10 14:15:03 -04:00
David Bolack 656edb07ea Rework detection of user brews to look up themeid in static themes list before assuming is a user brew.
Ended up being a fairly straightforward change. A few ternaries got smooshed or inverted. Passes builtin and local tests. Need to compare on the test instance.
2024-07-08 18:12:58 -05:00
Víctor Losada Hernández 4680e7a5cc i messed up authentication entirely, this commit restores it 2024-06-16 17:21:55 +02:00
Víctor Losada Hernández f07252d670 errors for access denied and authorization required 2024-06-16 17:14:27 +02:00
Víctor Losada Hernández f15c831b70 proper error page 2024-06-16 17:06:18 +02:00
David Bolack 0945a5e47e Merge branch 'master' into brew_themes_user_selection 2024-06-13 15:15:30 -05:00
Víctor Losada Hernández 90431efbc9 "Removed ArchivePage and related files, replaced with VaultPage, updated routes and API endpoints, and made minor changes to theme configuration and error handling." 2024-06-11 00:33:36 +02:00
Víctor Losada Hernández 99b0c2b54e Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-06-10 23:25:42 +02:00
Víctor Losada Hernández 8c09772605 Merge branch 'master' into metadata-api-endpoint 2024-06-06 01:02:10 +02:00
David Bolack 587831652c Merge branch 'master' into Issue_1958 2024-06-02 12:33:14 -05:00
David Bolack 5442f232d5 Merge branch 'master' into brew_themes_user_selection 2024-05-31 22:32:14 -05:00
G.Ambatte 2424d34682 Merge branch 'master' into addLockNotification-#3326 2024-06-01 12:14:04 +12:00
Trevor Buckner 695b9916dd Remove old /print page 2024-05-28 12:39:43 -04:00
Víctor Losada Hernández 6e0aff525f Updated rate limiter window name 2024-05-25 20:51:44 +02:00
Víctor Losada Hernández 748c25aae4 "Added express-rate-limit package and implemented rate limiting for admin API login attempts" 2024-05-24 20:42:25 +02:00
Víctor Losada Hernández 609f5a3330 more logs 2024-05-23 14:08:37 +02:00
Víctor Losada Hernández 879a1f5a57 fix page size to count 2024-05-22 08:51:49 +02:00
Víctor Losada Hernández 0f9ba1a5ae Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-05-22 08:23:53 +02:00
Trevor Buckner e62e185214 Lint a bunch of things 2024-05-21 17:32:17 -04:00
Víctor Losada Hernández a711f8eb89 remove regex search 2024-05-18 23:07:43 +02:00
David Bolack c6f62142e1 Change the ID used for User Brews to the shareId for future-proofing. 2024-05-17 20:53:06 -05:00
Víctor Losada Hernández b7717171b3 Server and shared folders 2024-05-17 22:34:40 +02:00
Víctor Losada Hernández 243038474e Initial commit 2024-05-17 21:23:31 +02:00
Víctor Losada Hernández 4b10686336 simplify logic 2024-05-14 09:49:14 +02:00
Víctor Losada Hernández 153812c6e5 simplify console log and remove unused code 2024-05-14 09:36:59 +02:00
David Bolack 66e39d9c65 Update Theme Selector display
For User/Brew Themes, display the first author instead of Brew/V3 in the first column.
2024-05-13 22:24:41 -05:00
David Bolack 8c5f4e0605 Brew Theme Fixes.
This adds the User Brew themes, where applicible, to the /new path.

This adds a semi-graceful failure to the metadata panel when a Brew Theme is declared as used but is not present.

More gracefully handles loading with themes not present.
2024-05-13 11:14:35 -05:00
Víctor Losada Hernández a89b575b26 archive 2.0 2024-05-13 13:37:53 +02:00
David Bolack a69d251f53 Merge branch 'master' into Issue_1958 2024-05-12 10:37:20 -05:00
David Bolack b6c2f96b82 Change tag filtering for theme detection to require meta prefix 2024-05-10 01:40:01 -04:00
G.Ambatte 3a054f1ae0 Merge branch 'master' into addLockNotification-#3326 2024-05-10 07:15:40 +12:00
Víctor Losada Hernández 5eeac603db why didn't i think about this sooner 2024-05-09 08:24:27 +02:00
David Bolack 65495b4e7c Prevent Legacy renderer brews from being listed as themes. 2024-05-08 12:51:10 -05:00
Víctor Losada Hernández f9f2e604c0 linting and remove async conflict 2024-05-07 10:14:46 +02:00
David Bolack f936b8b12b Update User brew endpoint tests 2024-05-06 20:28:46 -05:00
David Bolack 9f04c34b06 Missed $ 2024-05-06 20:07:33 -05:00
David Bolack c9d416fec0 Small User Brew theme changes.
Move the Static Theme shortcut to getBrewThemeWithCSS to drop an unneeded URL load.

Change the comment in the CSS to refer to the shareURL for the theme
instead of its name if it is a user theme.
2024-05-06 19:39:27 -05:00
Víctor Losada Hernández 51fcb59f09 debugging 500 errir catching 2024-05-06 23:26:02 +02:00
Víctor Losada Hernández e75c556443 use $text instead 2024-05-06 22:59:09 +02:00
David Bolack 3dde6a098c Test code to reduce duplicate theme loading
This shorts out loading of 5ePHB and/or blank from getBrewThemeParent
2024-05-06 12:12:46 -05:00
David Bolack ef25139ffe Merge branch 'master' into brew_themes_user_selection 2024-05-06 12:04:38 -05:00
Víctor Losada Hernández 752b2caaf4 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-05-06 13:45:06 +02:00
Víctor Losada Hernández 3c1f8804af initial commit 2024-05-02 11:38:00 +02:00
G.Ambatte 09cf5a9b04 Fix test 2024-04-20 14:02:46 +12:00
G.Ambatte 4c6953a4e0 Differentiate between Edit and Share messages 2024-04-20 13:57:33 +12:00
David Bolack 1292d9ad9b Merge branch 'master' into brew_themes_user_selection 2024-04-18 21:13:01 -05:00
Trevor Buckner f02a3d815a Merge branch 'master' into add-share-link-to-error-pages 2024-04-09 15:24:23 -04:00
Trevor Buckner 7097897df8 Remove "stub.published" from thrown error, since no longer used 2024-04-09 15:24:04 -04:00