0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 22:52:40 +00:00
Commit Graph

85 Commits

Author SHA1 Message Date
G.Ambatte
28894adeab Add error check for no brew found 2024-10-25 11:17:44 +13:00
G.Ambatte
e3619bb1fc Add global flag to regex 2024-10-25 00:11:02 +13:00
G.Ambatte
db1fdca3ab Automatically check for SCRIPT tags 2024-10-24 20:45:12 +13:00
G.Ambatte
c2f56833f3 Merge branch 'addAdminFixScriptTool-#3801' of https://github.com/G-Ambatte/homebrewery into addAdminFixScriptTool-#3801 2024-10-24 17:21:00 +13:00
G.Ambatte
d3cc5c890b Display number of SCRIPT tags detected in brew 2024-10-24 17:20:55 +13:00
Víctor Losada Hernández
04baabc27d Merge branch 'master' into addAdminFixScriptTool-#3801 2024-10-23 21:25:36 +02:00
G.Ambatte
63f4104f81 Add UI to Admin page 2024-10-13 13:45:24 +13:00
Víctor Losada Hernández
656c9399ef initial commit 2024-10-10 02:06:00 +02:00
Trevor Buckner
e873dcf3a8 Fix error messages crashing page 2024-10-09 14:35:16 -04:00
Trevor Buckner
fabc0bea83 Merge branch 'experimentalNotificationDB' of https://github.com/G-Ambatte/homebrewery into pr/2586 2024-09-18 15:50:55 -04:00
Trevor Buckner
5c2ad7dfee More Linting 2024-09-18 15:50:46 -04:00
Víctor Losada Hernández
3e7d4714a2 Merge branch 'experimentalNotificationDB' of https://github.com/G-Ambatte/homebrewery into experimentalNotificationDB 2024-09-18 21:47:05 +02:00
Víctor Losada Hernández
77c4ac6640 deleting useless state 2024-09-18 21:47:03 +02:00
Trevor Buckner
a7c892c1bb Lint 2024-09-18 15:36:48 -04:00
Trevor Buckner
6c42a7e180 Lint 2024-09-18 15:34:58 -04:00
Trevor Buckner
3caec793d8 Linting 2024-09-18 15:30:30 -04:00
Trevor Buckner
9717f0cd66 Split state into separate states. 2024-09-18 15:09:53 -04:00
Trevor Buckner
0cdc1947c1 Linting 2024-09-18 14:45:17 -04:00
Víctor Losada Hernández
ebc3b4ee66 "Updated admin notification management: added error handling and styling, modified notification add and lookup functionality, and refactored server-side API routes and error handling." 2024-09-14 23:58:47 +02:00
Víctor Losada Hernández
dbbfb0b628 suggestions added, linted 2024-09-13 23:29:36 +02:00
Víctor Losada Hernández
4f2c2916d6 remove cx 2024-09-13 23:03:40 +02:00
Víctor Losada Hernández
629b51a26c remove logs and unecessary state 2024-09-13 20:33:58 +02:00
Víctor Losada Hernández
d947ff45e2 correct style to be coherent and nice 2024-09-13 20:33:21 +02:00
Víctor Losada Hernández
a2d260c297 remove lookup by id funct and fix lost state functions 2024-09-13 20:29:35 +02:00
Víctor Losada Hernández
d352b76efe join styles and lint 2024-08-31 13:12:53 +02:00
Víctor Losada Hernández
e88272c684 "Refactor admin UI components: update class names, element types, and nesting in admin.jsx, notificationLookup.jsx, and notificationUtils.jsx" 2024-08-31 12:51:06 +02:00
Víctor Losada Hernández
10ce696333 basic styles 2024-08-31 12:50:53 +02:00
Víctor Losada Hernández
4488fe36db "Refactored notification lookup and management functionality in admin API and model, added new endpoints for getting all notifications and deleting a notification by dismiss key." 2024-08-31 12:17:12 +02:00
Víctor Losada Hernández
c79765396d add notif working 2024-08-31 00:04:44 +02:00
Víctor Losada Hernández
36549f3224 "Added 'required' attribute to several form input fields in NotificationAdd component." 2024-08-30 20:25:39 +02:00
Víctor Losada Hernández
e81a9dab1f add good stylings, and lint 2024-08-29 23:40:13 +02:00
Víctor Losada Hernández
65759e18bd clean inputs 2024-08-29 23:39:54 +02:00
Víctor Losada Hernández
0c6c0c9fd6 use actual inputs and textarea with good attributes 2024-08-29 00:23:22 +02:00
Víctor Losada Hernández
51d3d11bff "Refactor notification utils components to use React Hooks instead of createClass" 2024-08-29 00:01:02 +02:00
Víctor Losada Hernández
760c1a9e8c Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimentalNotificationDB 2024-08-28 22:28:24 +02:00
Víctor Losada Hernández
92e27cda6c "Removed unused imports of 'classnames' and 'create-react-class' from various JSX files. in the Client folder" 2024-05-17 22:31:55 +02:00
G.Ambatte
da0372e44c WIP commit 2023-01-23 15:18:50 +13:00
G.Ambatte
ccd5cacb0c Stub notification deletion function 2023-01-15 23:25:17 +13:00
G.Ambatte
5e2171ceb1 Remove debugging console.log calls 2023-01-15 22:21:06 +13:00
G.Ambatte
b00a962e77 Fix typo 2023-01-15 20:44:41 +13:00
G.Ambatte
04916d8931 Initial notificationAdd functionality 2023-01-15 13:54:19 +13:00
G.Ambatte
9e169aba91 Tweak LookUp title 2023-01-05 10:56:50 +13:00
G.Ambatte
f5c7761c61 Add styling to active tab 2023-01-05 10:52:24 +13:00
G.Ambatte
ec040cc2bb Add DisplayNames 2023-01-05 10:04:45 +13:00
G.Ambatte
a499bb3a54 Add basic Notification Lookup functionality 2023-01-04 23:32:35 +13:00
G.Ambatte
35b4c354f2 Add key prop to Admin tabs 2023-01-04 23:20:11 +13:00
G.Ambatte
f66664a3e2 Tabify Admin page, add Notification tab 2023-01-04 22:49:38 +13:00
G.Ambatte
d7ee004127 Update Admin pages 2023-01-04 22:08:44 +13:00
Trevor Buckner
e2cd7d9f07 Legacy renderer (#1184)
* Include two versions of Marked.js

* Include two versions of Marked.js

* Working two different render pipelines

Adds stylesheet "styleLegacy.less"
Adds markdownHandler "markdownLegacy.js"
The BrewRenderer will switch between these and the new pipeline dependent on the "version" prop passed in.

* Mustache-style div blocks

* Legacy snippets & columnbreak

* Codemirror styling for Div Blocks

* Lint

* Codemirror highlights for inline Divs as well

These will turn red `{{class Content}}`

Multi-line divs will turn purple

```
{{class,class2
content
}}
```

No real need for these to be different colors. Just for testing.

* More lint

* Update dependencies.

* Adding Button to switch render pipelines

* Update Marked.js

* Popup alert to refresh page when renderer changed

* Don't compress files in Development (very slow)

* Block DIV or inline Span depending on {{ placement

* \column emits a Div instead of Span

* Allow share page to use new renderer

* {{ divs no longer need empty lines. Spans work in lists.

* Typo

* Typo

* Enforce \page must be at start of line. Code cleanup.

* Inject newlines after/before {{/}} to avoid needing blank lines

* Fixes issues with tables.

* Remove console.log

* Fix spacing issue for Spans

* Move things from Brewrenderer to Markdown

Try to keep all custom text fiddling in one spot.

* Rename variables

* Update Font-Awesome to v5.15. Fix style issues on popups.

* Update {{ Divs/Spans, Fix nested hilighting

* Fixed Spans/divs with no tags or just commas

* Use blacklist for {{ to allow more characters

* Update package-lock.json

* Update all icons to Font-awesome 5

* V3 hidden behind config variable

Add "globalThis.enable_v3 = true" in the console to enable.

* lint
2021-02-02 20:38:25 -05:00
Trevor Buckner
22a9799674 Update vitreum (#946)
- Updates Vitreum to v6.0.1 + some custom fixes.
  - Stylesheets must be imported with `require('./sheet.less');` but can also can now share stylesheets between jsx components.
  - Should eliminate a lot of security concerns with older nested dependencies.
  - Changed a lot of files to make this work
- Also removes dependency on PicoRouter in favor of React-Router
2020-05-19 01:36:31 -04:00