0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-08 14:18:40 +00:00
Commit Graph

374 Commits

Author SHA1 Message Date
Trevor Buckner aa2d1f3bc9 Fix missing FontAwesome fonts in iFrame 2020-10-22 12:44:18 -04:00
Trevor Buckner c75ac3c0f5 Render brew in Iframe to not crash editor 2020-10-21 20:39:43 -04:00
Trevor Buckner d05b819ff2 Fix recent links when transferring to Google Brews 2020-10-19 15:48:44 -04:00
Trevor Buckner 77973f0037 v2.10.1 - Fix brews lost on back button 2020-10-12 14:30:42 -04:00
Trevor Buckner cc8bf6744b Move Patreon button 2020-10-08 16:12:12 -04:00
Trevor Buckner bf17d6894f use NanoId as function in Mongoose default
For some reason, Mongoose will reuse the old ID generated if you call nanoid directly. If you wrap it in a function, it will call it new each time a new document is created.

Also updated patreon link :)
2020-10-08 11:03:52 -04:00
Trevor Buckner 900f5b136f Fix login url 2020-10-07 20:22:15 -04:00
Trevor Buckner 194a9c0c40 Typo 2020-10-07 20:07:28 -04:00
Trevor Buckner f6f9b768cc Ensure share links are updated on transfer to google 2020-10-07 20:01:32 -04:00
Trevor Buckner 8fe0148821 Fix Share links 2020-10-07 17:13:37 -04:00
Trevor Buckner 0afb503860 Update Version number & cleanup 2020-10-07 15:02:42 -04:00
Trevor Buckner 864cc7a7bb Fix issues making brews when not signed in 2020-10-06 14:20:09 -04:00
Trevor Buckner 657a374895 Code Cleanup
Remove req, res from update, new, and getFolder google actions
2020-10-06 14:08:51 -04:00
Trevor Buckner 35e1ce0df2 Initial Commit. All seems to be working...?
EditPage.jsx and GoogleActions.js need to be cleaned up and shortened...
2020-10-05 23:33:15 -04:00
Trevor Buckner f754ecd6c3 Fix invisible paragraphs at top of new columns
Code was old Firefox fix that doesn't seem to do anything anymore anyway.
2020-07-19 02:32:58 -04:00
Trevor Buckner 2d092cb290 Forgot to update styles for BrewItems 2020-05-19 01:45:53 -04: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
Trevor Buckner 7c813be13a Revert Marked Update
Too many edge cases still broken. Bah.
2020-05-10 21:11:03 -04:00
Trevor Buckner dab716a9e0 Lint 2020-05-09 13:16:39 -04:00
Trevor Buckner 9265e25c73 Update popup to notify update
Also point to latest FAQ page on Reddit
2020-05-08 15:32:39 -04:00
Trevor Buckner 58543f0b4d Merge branch 'master' into update-Marked-renderer 2020-04-20 21:40:04 -04:00
Trevor Buckner e88253f364 Added robots.txt, nofollow in metatags
Also noindex on /print/ pages
2020-04-20 13:46:18 -04:00
Trevor Buckner bdf37d8fe7 Add robots noindex to edit and share pages 2020-04-20 12:15:27 -04:00
Timothy Cyrus 7239b89108 Update metadataEditor.jsx 2020-04-16 20:24:01 -04:00
Timothy Cyrus 0ea80bd758 Update client/homebrew/pages/userPage/brewItem/brewItem.jsx
Co-Authored-By: Trevor Buckner <calculuschild@gmail.com>
2020-04-16 20:24:01 -04:00
Timothy Cyrus f6d623ace3 Update brewItem.jsx 2020-04-16 20:24:01 -04:00
Timothy Cyrus 63ad8b3411 Update editPage.jsx 2020-04-16 20:24:01 -04:00
Timothy Cyrus 50cc757a5c Update metadataEditor.jsx 2020-04-16 20:24:01 -04:00
Trevor Buckner 5bc948ab0a All fixes seem to be working? 2020-03-25 12:09:50 -04:00
Trevor Buckner 6d38a633ef Cut out the renderPrivateBrews script 2020-02-07 10:16:58 -05:00
Eric Scheid b3376435b9 purty apostrophes; containerise brew collections
NB: .brewItem:nth-child(2n+1) {...} counts all children of the contain, not just the .brewItem elements.
This meant if there were an even number of published brews, the style rule got applied to the wrong unpublished brews because there's an <h1> jigging the count.
2020-02-07 10:16:58 -05:00
Trevor Buckner 3259836964 Remove extra |:--:| in table
This is invalid markdown.
2020-02-04 12:06:36 -05:00
Trevor Buckner f0d9fcf942 Bump eslint version 2020-02-04 11:09:15 -05:00
Trevor Buckner debe58ff0b Remove unneeded comments 2020-01-28 10:53:07 -05:00
Trevor Buckner 0018627f82 Process brew compression in batches to reduce server load. 2020-01-28 10:53:07 -05:00
Trevor Buckner a06b29c6f5 Admin controls for compressing old brews 2020-01-23 11:20:31 -05:00
Trevor Buckner 4128670a9f Revert "Merge pull request #867 from naturalcrit/compressBrews"
This reverts commit 94d090277f, reversing
changes made to aeffec1763.
2020-01-23 10:27:30 -05:00
Trevor Buckner 0b8889d0b8 Merge branch 'master' into compressBrews 2020-01-23 09:48:47 -05:00
Trevor Buckner 2efb24d692 Lint 2020-01-23 09:47:19 -05:00
Trevor Buckner bc81e09686 Admin script to compress old brews
Also fully delete the text field after compressed version is saved instead of leaving just an empty field.
2020-01-23 09:38:50 -05:00
Eric Scheid aeffec1763 minor grammar fixes in error messages 2020-01-21 10:07:35 -05:00
Eric Scheid 462a5608d2 Revert "list-style-type is a property of <li>, not <ul>"
This reverts commit 831bf5bc62.
2020-01-21 10:07:35 -05:00
Eric Scheid 09ae750eec list-style-type is a property of <li>, not <ul> 2020-01-21 10:07:35 -05:00
Trevor Buckner 06d970e61a Notification about the Grey Shadow issue
First Reported 7/24/2019. Think it's a mobile Chrome issue.
2019-07-24 09:35:13 -04:00
Trevor Buckner 6a57542216 Fix links on Home Page
Make github issues go to subreddit, update license link to Naturalcrit instead of stolksdorf
2019-05-02 08:38:48 -04:00
Trevor Buckner 72db7fedfb Remove "Report Issue" from share page
Too many users are reporting typos or brew issues thinking the "Report Issue" button is commenting on the document itself, instead of the website. Hoping this limits bug reports to just users who are actually editing documents.
2019-04-08 09:12:48 -04:00
Trevor Buckner 2839846ec0 Lint 2 2019-02-14 13:54:35 -05:00
Trevor Buckner 502ef6ad7c Lint 2019-02-14 13:54:35 -05:00
Trevor Buckner 5b8aa5bb19 Change the popup warning on the metadata editor 2019-02-14 13:54:35 -05:00
Trevor Buckner a26e828f00 Change popup warning if you are the only editor
If you are the only editor, it will warn you that the document is about to be permanently deleted.
2019-02-14 13:54:35 -05:00