Commit Graph
100 Commits
Author SHA1 Message Date
Trevor Buckner 0afb503860 Update Version number & cleanup 2020-10-07 15:02:42 -04:00
Trevor Buckner ed1c589e2d Linting 2020-10-06 14:21:15 -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 2065ff80ff Merge pull request #1008 from naturalcrit/dependabot/npm_and_yarn/babel/preset-env-7.11.0
Bump @babel/preset-env from 7.9.6 to 7.11.0
2020-08-28 15:52:52 -04:00
Trevor Buckner b24bba87d9 Merge pull request #1007 from naturalcrit/dependabot/npm_and_yarn/elliptic-6.5.3
[Security] Bump elliptic from 6.5.2 to 6.5.3
2020-08-28 15:52:32 -04:00
Trevor Buckner e810445ac9 Merge pull request #1025 from naturalcrit/updateDependencies
Update dependencies
2020-08-28 15:45:49 -04:00
Trevor Buckner 5afbb4ee4e Update changelog.md 2020-08-28 15:44:43 -04:00
Trevor Buckner 6ae4cd143c update several dependencies 2020-08-28 15:17:59 -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 62a827ce49 Update more dependencies 2020-05-20 10:14:05 -04:00
Trevor Buckner e971da2b59 Merge pull request #943 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-react-7.20.0
Bump eslint-plugin-react from 7.19.0 to 7.20.0
2020-05-19 01:54:55 -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 e94148b2f0 Merge pull request #938 from naturalcrit/update-Marked-renderer
Update marked renderer
2020-05-09 13:57:40 -04:00
Trevor Buckner ec4f6e4327 Redundant marked version 2020-05-09 13:38:25 -04:00
Trevor Buckner fcbd117784 Merge branch 'master' into update-Marked-renderer 2020-05-09 13:33:33 -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 4ad63d5bce Change text in RenderWarning popup
Reflect our policy of testing only on Chrome, but remove the specific issue of column-span support as that is now supported by other browsers.
2020-05-08 15:04:38 -04:00
Trevor Buckner a0e92b54d0 Fix multiline IMG tags breaking 2020-05-08 13:15:35 -04:00
Trevor Buckner 62f549f038 Fix Markdown rendering right after Divs 2020-05-06 16:30:35 -04:00
Trevor Buckner e8f3b0c8d0 Fix Tables with uneven columns 2020-05-02 15:03:18 -04:00
Trevor Buckner 587ce78f4e Update robots.txt
This was blocking Google from updating the `noindex` tag.
2020-04-21 22:46:42 -04:00
Trevor Buckner 7ca1dd3c68 Update Marked.js to 1.0.0 2020-04-20 22:43:46 -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
Trevor Buckner 22908207a3 Google verification for testing Robots.txt 2020-04-20 12:03:28 -04:00
Trevor Buckner 70430f84e1 Small tweaks and linting 2020-04-14 11:15:05 -04:00
Trevor Buckner 5631ef7be7 Fix HTML right before markdown
Allow raw HTML tags to end without a blank line if markdown is right after
2020-04-14 10:26:42 -04:00
Trevor Buckner 5bc948ab0a All fixes seem to be working? 2020-03-25 12:09:50 -04:00
Trevor Buckner 28c5d7d84a Update .gitignore 2020-03-24 10:01:28 -04:00
Trevor Buckner 825702ee1d Forgot version number 2020-03-11 09:41:16 -04:00
Trevor Buckner 61b58032ca Upping changelog to v2.8.2 2020-03-11 09:40:50 -04:00
Trevor Buckner 546cc13c1c Release 2.8.2
Marking this as a stable version since it's been a while, in preparation for adding new features.
2020-03-11 09:29:04 -04:00
Trevor Buckner 6d38a633ef Cut out the renderPrivateBrews script 2020-02-07 10:16:58 -05:00
Trevor Buckner b9cfc2e6af Fixed need for spaces to render html in a DIV
Marked update does not naturally detect the end of blocked elements like DIVs. The fix is to handle cases where only one half of the Div is detected separately.
2020-02-04 14:10:36 -05:00
Trevor Buckner 3259836964 Remove extra |:--:| in table
This is invalid markdown.
2020-02-04 12:06:36 -05:00
Trevor Buckner b3387c363f Bump react-dom to v16.12.0 2020-02-04 11:40:41 -05:00
Trevor Buckner f0d9fcf942 Bump eslint version 2020-02-04 11:09:15 -05:00
Trevor Buckner 928b553b19 Revert Marked update
The markdown spec has changed too much and is breaking old brews.
2020-02-04 10:34:00 -05:00
Trevor Buckner b75063f936 Try upping Mongoose to 5.7.5 again
Apparently mongoose 5.7.0 has breaking changes.
2020-02-03 15:29:12 -05:00
Trevor Buckner 6ef88e0f1f Revert "Try upping Mongoose to 5.7.5"
This reverts commit 59e0118d8b.
2020-02-03 14:52:06 -05:00
Trevor Buckner 59e0118d8b Try upping Mongoose to 5.7.5
Small fix to connection string to keep Mongoose working with the older MongoDB 3.6 database
2020-02-03 14:49:03 -05:00
Trevor Buckner 09e6766e0d Update .gitignore 2020-02-03 14:16:06 -05:00
Trevor Buckner ce8cfde211 Revert "[Security] Bump mongoose from 5.0.13 to 5.7.5"
This reverts commit 7fbb51b3f4.
2020-02-03 14:11:47 -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 e50f0a1f3b Upping number of compressed brews at once 2020-01-23 15:12:25 -05:00
Trevor Buckner e862f65166 Up number of brews compressed at once 2020-01-23 12:57:23 -05:00
Trevor Buckner 347575b0ec Lint 2 2020-01-23 12:24:54 -05:00
Trevor Buckner 4ac922482e Lint 2020-01-23 12:24:54 -05:00
Trevor Buckner 27e7af870a Fixed what was breaking 2020-01-23 12:24:54 -05:00
Trevor Buckner 474b2552fd Fix recent crash 2020-01-23 11:47:21 -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 94d090277f Merge pull request #867 from naturalcrit/compressBrews
Adding some admin controls to compress old brews.
2020-01-23 10:06:53 -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
Trevor Buckner e8dcb042f8 Typo 2020-01-21 10:05:22 -05:00
Trevor Buckner ecd25ca49f Changed to encourage environment variable 2020-01-21 10:05:22 -05:00
Trevor Buckner 81c361bfb8 Make brand new files also save compressed 2020-01-10 16:03:04 -05:00
Trevor Buckner 37eb0d0889 Merge branch 'master' into compressBrews 2020-01-10 15:59:33 -05:00
Trevor Buckner 8adc04a565 Make brand new files also save compressed 2020-01-10 15:55:21 -05:00
Trevor Buckner 486841084f Make compression raw (no wrapper). Otherwise small files are actually larger after compression. 2020-01-10 09:07:28 -05:00
Trevor Buckner 399a6d82f6 lint 2020-01-10 09:07:28 -05:00
Trevor Buckner becc6b8df0 Add zlib compression to the "text" field. Now, when a file is saved, the original text field is blanked out and the "compressed" binary version is saved instead. Viewing files in Edit page unzips and views them just fine.
Does not compress old files unless they are opened and resaved by someone. Have not tested on the "share" or "print" pages yet, but should work.
2020-01-10 09:07:28 -05:00
Trevor Buckner 1ff3f96f6c Make compression raw (no wrapper). Otherwise small files are actually larger after compression. 2020-01-10 08:59:39 -05:00
Trevor Buckner b289cb1003 lint 2020-01-05 23:59:42 -05:00
Trevor Buckner 3ea3d273a5 Add zlib compression to the "text" field. Now, when a file is saved, the original text field is blanked out and the "compressed" binary version is saved instead. Viewing files in Edit page unzips and views them just fine.
Does not compress old files unless they are opened and resaved by someone. Have not tested on the "share" or "print" pages yet, but should work.
2020-01-05 23:48:50 -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 f28ed3d52e Try again... 2019-07-01 13:56:27 -04:00
Trevor Buckner c5867dab91 Undo. Didn't work. 2019-07-01 13:20:24 -04:00
Trevor Buckner df4bacf890 Allow cleaning function to work for a full minute 2019-07-01 13:16:26 -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
Trevor Buckner f572e671cf Lint 2019-02-14 13:54:35 -05:00
Trevor Buckner d18bd500b1 Fixing delete buttons
Delete should now first remove the current user as an editor, and only delete the file if he was the last editor. Currently, anyone who views your brew is added as an editor and if they delete it, the whole brew is deleted for everyone.
2019-02-14 13:54:35 -05:00
Trevor Buckner 14f721d209 Fix spacing on Notification popup for legibility 2019-02-07 12:24:26 -05:00
Trevor Buckner 1219f64cb3 Notification about Chrome PDF missing letters bug
Changed DISMISS KEY to current date to make popup appear again.
2019-02-07 12:19:38 -05:00
Trevor Buckner b82aac4a5a Make Monster Blocks always generate "abilities"
Originally had a random chance to generate no abilities, which a user might not know how to insert with the proper formatting. Also added some new abilities to select randomly when generated. Also fixes #836 .
2019-02-04 11:26:37 -05:00
Trevor Buckner b53b5ccf43 More version updates in the changelog 2019-01-29 17:40:39 -05:00
Trevor Buckner 18a238786e Hide scrollbar in share page but KEEP SCROLLBAR IN USER PAGE 2019-01-22 13:42:46 -05:00
Trevor Buckner 507f8e0852 Revert "Revert "Merge branch 'master' of https://github.com/naturalcrit/homebrewery""
This reverts commit 0c70162a78.
2019-01-22 11:26:33 -05:00
Trevor Buckner 0c70162a78 Revert "Merge branch 'master' of https://github.com/naturalcrit/homebrewery"
This reverts commit 077511dfa7, reversing
changes made to facbc5f6dc.
2019-01-22 11:23:35 -05:00
Trevor Buckner 077511dfa7 Merge branch 'master' of https://github.com/naturalcrit/homebrewery 2019-01-22 11:13:53 -05:00
Trevor Buckner 69b25eb03a Fix duplicate scrollbar in "share" page 2019-01-22 10:54:14 -05:00
Trevor Buckner a56a999920 More Lint 2019-01-19 20:11:16 -05:00
Trevor Buckner c1d8796807 Lint 2019-01-19 20:11:16 -05:00
Trevor Buckner 71af97e489 Refactored the "Recent Items" navbar component. Greatly simplified the code to about 70% length and made it much easier to read. Results in the same thing.
Oh. And it works again. Recent brews should be showing up fine now.
2019-01-19 20:11:16 -05:00
Trevor Buckner facbc5f6dc Merge branch 'master' of https://github.com/naturalcrit/homebrewery 2019-01-15 07:35:38 -05:00
Trevor Buckner 63a1ff454f Added a notification popup similar to the "YOU ARE NOT USING CHROME" message. Can be used to notify users of current known issues, updates, etc.
Currently just reminds users to back up documents with a link to the Reddit FAQ.
2019-01-11 16:31:08 -05:00