Commit Graph
100 Commits
Author SHA1 Message Date
Charlie Humphreys 67a76f9d86 adjust circleci command for API unit tests 2023-01-06 11:53:38 -06:00
Charlie Humphreys 93d6d1ac6a add unit test command 2023-01-06 11:48:00 -06:00
Charlie Humphreys 4b3edf053f add coverage thresholds and coverage command 2023-01-05 23:30:20 -06:00
Charlie Humphreys 0720ac6a15 update changelog 2023-01-05 23:29:58 -06:00
Charlie Humphreys c0b9cd951e update circleci test config to run test coverage 2023-01-05 23:29:43 -06:00
Charlie Humphreys a54ebabf53 fix tests after merge from master 2023-01-05 23:10:25 -06:00
Charlie Humphreys 676acb9e5a Merge branch 'master' into api-tests 2023-01-05 23:02:43 -06:00
Charlie Humphreys 387c468d84 add tests for deletion and address PR feedback 2023-01-05 22:56:54 -06:00
Charlie Humphreys e47f81698c Merge branch 'master' into api-tests 2023-01-03 13:47:09 -06:00
Charlie Humphreys ca03a473ec add check for truthy version, and make sure the version exists when incrementing it 2022-12-23 14:31:58 -06:00
Charlie Humphreys 6d9982f735 add elvis to fix invited authors editor 2022-12-23 12:21:15 -06:00
Charlie Humphreys da9e20e96f add more tests and merge from main 2022-12-23 00:11:46 -06:00
Charlie Humphreys 925db96b08 Merge branch 'fixThemesDefault' into api-tests 2022-12-22 20:09:49 -06:00
CharlieandTrevor Buckner 314f758d62 Update server/homebrew.api.js
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2022-12-22 15:58:33 -06:00
Charlie Humphreys 2f5bc8db54 remove redundant boolean comparison logic 2022-12-21 16:19:41 -06:00
Charlie Humphreys 7c61a27084 update authorship edit check and error 2022-12-21 15:59:00 -06:00
Charlie Humphreys a3dc5e78fd remove console log 2022-12-14 10:04:43 -06:00
Charlie Humphreys e5febc1fef update ui to include invitedAuthors array 2022-12-13 21:06:47 -06:00
Charlie Humphreys 354d01e980 set the version in the ui from the server response on save 2022-12-13 21:05:45 -06:00
Charlie Humphreys 63e043593a add invitedAuthors key and move invited author to authors on save 2022-12-13 21:05:00 -06:00
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 a451e562fb add initial set of tests for api 2022-12-06 00:01:38 -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