Commit Graph
100 Commits
Author SHA1 Message Date
Charlie Humphreys 770d0c141d add 409 return when server version is greater than updating version
This also moves the version back onto the stub
2022-12-13 21:03:51 -06:00
Charlie Humphreys f847de852b Merge branch 'master' into disable-changes-from-non-authors 2022-12-12 10:39:08 -06:00
Charlie Humphreys 8a110567fc remove call to persist 2022-12-07 07:32:22 -06:00
Charlie Humphreys 4e2f6b1d26 move callIfExists to base file scope 2022-12-05 22:39:38 -06:00
Charlie Humphreys 6b8db74a2b add authors length check and account elvis operator 2022-12-05 22:31:56 -06:00
Charlie Humphreys 4c629772cc add a check for the accessType when editing a document 2022-12-05 22:11:24 -06:00
Charlie Humphreys 208593d203 add callIfExists, which will call a method only if it exists 2022-12-05 22:06:06 -06:00
Charlie Humphreys 99019be152 switch updateOne to findOneAndUpdate and return the saved instead of the brew passed in 2022-12-05 21:00:44 -06:00
Charlie Humphreys fec1766e26 switch fetchGoogle to stubOnly 2022-11-21 16:21:36 -06:00
Charlie Humphreys f26e3d6cd1 remove tags from google brew fetch 2022-11-18 17:53:47 -06:00
Charlie Humphreys 2e6fcafc68 Merge branch 'remove-google-get-during-update' into disable-changes-from-non-authors 2022-11-16 23:15:55 -06:00
Charlie Humphreys 13b43e8902 Merge branch 'master' into remove-google-get-during-update 2022-11-16 23:15:11 -06:00
Charlie Humphreys 837708fc0c prevent changes to brews from non-authors 2022-11-16 22:39:06 -06:00
Charlie Humphreys 2e305d5636 remove authorship piece from this PR 2022-11-16 22:37:59 -06:00
Charlie Humphreys f9711de634 add elvis for the possibility that the save failed 2022-11-16 22:32:50 -06:00
Charlie Humphreys 2c6779bb1c adjust getBrew to check authorship, change update method to not perform a get 2022-11-16 22:28:00 -06:00
Charlie Humphreys 0867b142da update getBrew usages to not fetch google brew during updates 2022-10-27 21:44:26 -05:00
Charlie Humphreys ac7b2bce9f update twitter:card meta tag to have "summary" as the content 2022-10-27 21:14:14 -05:00
Charlie Humphreys 0625c57824 override next with an empty function 2022-09-08 08:16:49 -05:00
Charlie Humphreys a234fdbab7 fix getBrew issue 2022-09-08 08:15:55 -05:00
Charlie Humphreys af1821e697 update deletion to delete brews when the google brew cannot be found 2022-09-06 22:50:51 -05:00
Charlie Humphreys 59451f47e6 add elvis to handle missing metaStorage 2022-08-30 19:20:32 -05:00
Charlie Humphreys 17c426cc91 update WithRoute to handle query params correctly 2022-08-28 12:40:56 -05:00
Charlie Humphreys 6aa9eda5fb update if in stringArrayEditor.jsx componentDidUpdate 2022-08-27 00:52:44 -05:00
Charlie Humphreys 5227bbc1d4 add tag length limit, fix tag editing issues 2022-08-26 10:42:34 -05:00
Charlie Humphreys ae9eef4fba update location of tags type rewrite 2022-08-05 15:37:22 -05:00
Charlie Humphreys c7cfa86205 remove migration in favor of as-edited approach 2022-06-25 00:43:47 -05:00
Charlie Humphreys 8ee832e633 add MIGRATE environment variable 2022-06-25 00:00:41 -05:00
Charlie Humphreys c7d5d6800b add close button for string array edit input, update styles 2022-06-24 23:48:32 -05:00
Charlie Humphreys e963672b65 update tag setup to be based on the latest version of the stringArrayEditor.jsx 2022-06-24 23:31:20 -05:00
Charlie Humphreys 1965218e74 Merge branch 'master' into document-tags
# Conflicts:
#	client/homebrew/editor/metadataEditor/metadataEditor.jsx
#	server/homebrew.api.js
2022-06-24 22:55:35 -05:00
Charlie Humphreys c0405fae08 add catch-all route 2022-06-20 13:19:43 -05:00
Charlie Humphreys 755b9dcc89 update based on feedback, remove query-string dependency, add/move favicon url 2022-06-20 12:53:26 -05:00
Charlie Humphreys 60a372de68 update react-router-dom to 6.3.0, add WithRoute function component wrapper 2022-06-18 16:20:51 -05:00
Charlie Humphreys 890fbcc250 Merge branch 'master' into google-document-stubs 2022-06-06 15:04:24 +00:00
Charlie Humphreys 18ce232be9 Merge branch 'google-document-stubs' of https://github.com/jeddai/homebrewery into google-document-stubs 2022-06-06 15:01:10 +00:00
Charlie Humphreys 92b3f8252e fix data reuse and add field to projection 2022-06-06 14:59:40 +00:00
Charlie Humphreys bade09c24c linting 2022-05-26 04:46:07 +00:00
Charlie Humphreys b54b7e317e pre-filter brews list when finding google brews 2022-05-26 04:45:50 +00:00
Charlie Humphreys 627c52e845 Add comments and adjust google brew for loop 2022-05-26 04:40:33 +00:00
Charlie Humphreys 55c91217ab fix deletion, update urls 2022-05-25 03:03:43 +00:00
Charlie Humphreys 7691e4d24e Merge branch 'master' into google-document-stubs 2022-05-22 00:40:57 +00:00
Charlie Humphreys 452aa1feaf lint 2022-05-14 04:19:54 +00:00
Charlie Humphreys 74d22a05d0 swap transferToGoogle to saveToGoogle in a spot I missed 2022-05-14 04:19:36 +00:00
Charlie Humphreys ac905ddf3f add comments, update query params, adjust code based on feedback 2022-05-14 04:17:39 +00:00
Charlie Humphreys ff885dc6c2 Merge branch 'master' into google-document-stubs 2022-05-11 23:35:31 -05:00
Charlie Humphreys 01441e0610 adjust code based on feedback 2022-05-11 23:34:48 -05:00
Charlie Humphreys 2e145e7ff1 Merge branch 'master' into google-document-stubs 2022-04-15 00:23:51 -05:00
Charlie Humphreys 8a5e9aa1f6 update app to better handle google brew stubs 2022-04-15 00:22:51 -05:00
Charlie Humphreys e7fe68d20c merge master into google-document-stubs 2022-04-14 23:31:07 -05:00
Charlie Humphreys 39d29abb19 update app to list stubbed google docs only once 2022-04-11 12:55:19 -05:00
Charlie Humphreys 9f69763572 fix deletion request 2022-04-06 11:14:34 -05:00
Charlie Humphreys 4941dbb5bd add exclusions for stub props 2022-04-06 11:11:11 -05:00
Charlie Humphreys e5021259bb swap usage of delete on possible Mongoose object for setting the value to undefined 2022-03-30 23:34:39 -05:00
Charlie Humphreys 6791df7f75 Merge branch 'master' into google-document-stubs
# Conflicts:
#	server/homebrew.api.js
2022-03-30 23:26:41 -05:00
Charlie Humphreys fa8d47400f update API and frontend for google drive document stubs 2022-03-30 23:23:45 -05:00
Charlie Humphreys e610c12b2a update logout logic 2022-03-30 10:24:25 -05:00
Charlie Humphreys c17db043ba remove extra slash in regex 2022-03-29 11:54:15 -05:00
Charlie Humphreys 89dbd19556 update response handling for saving google brews 2022-03-29 11:46:50 -05:00
Charlie Humphreys e9cf7be488 add asyncHandler to async methods in routes 2022-03-28 20:43:45 -05:00
Charlie Humphreys 562ba42b1b add the transfer if statement back in after erroneously removing it 2022-03-24 13:50:26 -05:00
Charlie Humphreys c081234021 update package-lock.json 2022-03-24 13:47:57 -05:00
Charlie Humphreys bba0208361 update based on feedback 2022-03-24 13:46:23 -05:00
Charlie Humphreys b19efcebb9 update package-lock.json 2022-03-24 08:18:24 -05:00
Charlie Humphreys 4d6ce6b917 Merge branch 'master' into google-transfer-api
# Conflicts:
#	package-lock.json
2022-03-24 08:17:56 -05:00
Charlie Humphreys 92d8027640 update app to use a single endpoint for google and non-google stored brews 2022-03-24 08:13:34 -05:00
Charlie Humphreys 8ea2780a44 add log line to explain what to do when the service account cannot be found 2022-02-16 22:03:01 -06:00
Charlie Humphreys 7cc7bd4786 update readFileMetadata to be getGoogleBrew 2022-02-16 21:51:14 -06:00
Charlie Humphreys 927345b131 update app, googleActions, and homebrew api based on PR feedback 2022-02-16 16:53:34 -06:00
Charlie Humphreys 59d08a7414 update googleActions and related files to use service-level auth where viable 2022-02-14 22:21:58 -06:00
Charlie Humphreys cd27933f98 add width:auto to div 2022-02-03 11:37:32 -06:00
Charlie Humphreys 6985f69caa update height to use style syntax 2022-02-03 10:09:20 -06:00
Charlie Humphreys aaf36a29a7 remove text under social links, adjust spacing 2022-02-03 09:56:45 -06:00
Charlie Humphreys 57d3db5322 Merge branch 'master' into migration-guide
# Conflicts:
#	server/app.js
2022-01-31 17:13:36 -06:00
Charlie Humphreys 22b80ffbb2 update app templates for welcome messages, add new images 2022-01-26 21:56:12 -06:00
Charlie Humphreys c2ca9f8f10 Merge branch 'master' into links-in-home-document
# Conflicts:
#	server.js
2022-01-26 13:59:47 -06:00
Charlie Humphreys e614fbc5a1 Update app.js from master 2022-01-26 08:46:45 -06:00
Charlie Humphreys 7f001ee391 Merge branch 'master' into migration-guide
# Conflicts:
#	server.js
2022-01-26 08:44:28 -06:00
Charlie Humphreys 9432304be5 Merge branch 'master' into migration-guide
# Conflicts:
#	package-lock.json
2022-01-26 08:43:17 -06:00
Charlie Humphreys 38c0527d35 Add color mixins, help dropdown, and remove unused nav items 2022-01-26 08:40:33 -06:00
Charlie Humphreys 5bb580147a Add discord, github, and reddit links to home page document 2021-12-28 21:59:02 -06:00
Charlie Humphreys 38d8764f15 Disable code folding in style tab, disable active line highlight and whitespace visibility 2021-12-20 00:42:53 -06:00
Charlie Humphreys 603cf2c0ab Adjust migrate document text 2021-12-16 00:03:23 -06:00
Charlie Humphreys 0bc27e83ed Fix reference to old function 2021-12-16 00:01:16 -06:00
Charlie Humphreys 25c1d03cca Update package-lock.json 2021-12-15 23:59:36 -06:00
Charlie Humphreys e2b4151ab4 Merge branch 'master' into migration-guide
# Conflicts:
#	shared/naturalcrit/markdown.js
2021-12-15 23:59:10 -06:00
Charlie Humphreys 889d307372 Lint change double quotes into single quotes 2021-12-15 23:58:49 -06:00
Charlie Humphreys fd23396b95 Add migrate nav item to pages and update migrate document 2021-12-15 23:57:52 -06:00
Charlie Humphreys 7d58ce6e00 Merge remote-tracking branch 'origin/random-fixes' into random-fixes 2021-12-15 20:14:17 -06:00
Charlie Humphreys d4c5ac8110 Change div syntax in snippet to curly-brace v3 syntax 2021-12-15 20:14:07 -06:00
Charlie Humphreys 2c2579ae2b Update usage of trailing space to include special chars for spaces 2021-12-13 20:49:32 -06:00
Charlie Humphreys 53fcdd8d7a Prevent activeline class from being removed 2021-12-13 20:29:28 -06:00
Charlie Humphreys 84f3519dbe Remove unnecessary findPersistent method 2021-12-10 23:39:26 -06:00
Charlie Humphreys 61cfef445b Update trailing space background and remove tab background when it is inside a trailing space 2021-12-10 23:07:21 -06:00
Charlie Humphreys b60bc2996b Update search/replace shortcuts and add 'Enter'-based shortcut for navigating backwards 2021-12-10 23:05:16 -06:00
Charlie Humphreys 65c9a2cba0 Update CodeMirror library import order and add comments explaining each file 2021-12-10 23:04:22 -06:00
Charlie Humphreys f1c4910993 Add to migrate document and update colon-replacement for the markdown renderer 2021-12-10 20:25:31 -06:00
Charlie Humphreys 7eded57d79 Update package-lock.json after fixing my npm version 2021-12-07 22:11:16 -06:00
Charlie Humphreys 3de1d3afb0 Merge branch 'master' into metadata-document-block
# Conflicts:
#	package-lock.json
2021-12-07 22:09:44 -06:00
Charlie Humphreys b817148d1c Initial page for migrating from GMB to HB 2021-12-07 22:09:01 -06:00