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

285 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
Trevor Buckner 747c976a14 typo 2022-12-12 10:19:49 -05:00
Trevor Buckner 326c28a11d Change findOneAndUpdate to FindOne and Save
Setting an object property to `undefined` should tell Mongoose to remove that property (for example, remove the googleId from a brew). That doesn't seem to work with `findOneAndUpdate` however; the `undefined` property remains after the update.

Switching back to `save()` to make this work again.
2022-12-12 09:59:04 -05:00
Trevor Buckner 0bde44ec2f Merge pull request #2470 from jeddai/remove-google-get-during-update
update getBrew usages to not fetch google brew during updates
2022-12-10 13:54:58 -05:00
Trevor Buckner b72acd9e59 cleanup 2022-12-10 13:31:57 -05:00
G.Ambatte d0a1ef9571 Change to aggregate query, rename variables 2022-12-09 18:35:17 +13: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 99019be152 switch updateOne to findOneAndUpdate and return the saved instead of the brew passed in 2022-12-05 21:00:44 -06:00
Trevor Buckner 10c8414ab0 Merge pull request #2536 from Gazook89/Prevent-Crash-with-Non-Latin-Characters
Encode Filename in Content-Disposition header
2022-12-02 21:31:46 -05:00
Trevor Buckner 6832e68ada Merge pull request #2528 from Gazook89/GoogleActions-error
Change error message about googleActions on local startup.
2022-12-02 21:29:39 -05:00
Trevor Buckner 24477327aa message tweaks 2022-12-02 21:28:57 -05:00
Gazook89 0a5bfe2939 check if keys exist before trying for auth. 2022-12-01 19:51:36 -06:00
Gazook89 3b6d3963f1 point to defaultMetatags.image 2022-12-01 11:01:40 -06:00
Gazook89 3a4c2d8f13 change image property to reference default image property
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2022-12-01 10:58:27 -06:00
Gazook89 7d86a40261 encode filename string to allow non-latin characters 2022-12-01 10:52:30 -06:00
Gazook89 9647fbcc74 change default image on a few pages, and default description. 2022-11-29 19:12:54 -06:00
Gazook89 ca6f8d085a changing messaging about googleActions 2022-11-29 12:57:27 -06:00
Gazook89 c2637a7576 fix og:image and og:site_name 2022-11-29 11:27:15 -06:00
G.Ambatte 420d703f9d Add updateTokens param to GoogleActions/authCheck 2022-11-29 10:00:23 +13: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
Trevor Buckner c09a4c4374 cleanup 2022-11-17 22:58:46 -05:00
Gazook89 14a057cf55 change account page title to something generic 2022-11-17 11:37:29 -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
Gazook89 5cfdd504c1 Move common meta tags to default object 2022-11-16 12:52:59 -06:00
Gazook89 ed4c090f21 finish setting OG tags 2022-11-06 12:34:24 -06:00
Gazook89 672d582caf move metaTag objects to app.js 2022-11-05 23:32:30 -05:00
G.Ambatte 1f7be69624 Modify query to exclude Google brew stubs 2022-10-31 17:43:41 +13:00
Charlie Humphreys 0867b142da update getBrew usages to not fetch google brew during updates 2022-10-27 21:44:26 -05:00
G.Ambatte 91b2911bb0 Change capitalization of page title 2022-09-26 20:17:52 +13:00
G.Ambatte 5a3daf8ffd Merge branch 'master' into createUIBasePage 2022-09-26 16:34:44 +13:00
G.Ambatte be25e90009 Change variable name 2022-09-26 00:34:54 +13:00
G.Ambatte 6bddba6762 Merge branch 'master' into createUIBasePage 2022-09-25 23:47:55 +13:00
G.Ambatte e18e3cf7e4 Remove thumbnail from Google brew properties 2022-09-24 23:51:08 +12:00
G.Ambatte ca09e98d8f Exclude thumbnail from Google props 2022-09-24 23:50:20 +12:00
G.Ambatte 918690e773 Merge branch 'master' into showThumbnailOnUserPage-#2331 2022-09-21 14:35:27 +12:00
Gazook89 f86ec64714 change localhost to 127.0.0.1
node v16+ better utilizes the address 127.0.01 rather than localhost, at least on MacOS while still working for Windows.
2022-09-13 09:19:34 -05:00
G.Ambatte abe7d858a8 Merge branch 'master' into showThumbnailOnUserPage-#2331 2022-09-11 12:21:44 +12:00
Trevor Buckner 0f566fe912 Merge branch 'master' into SwappableThemes-ReorganizeFolderStructure 2022-09-09 10:51:08 -04:00
Trevor Buckner 3c12f1133e Tweak console warning 2022-09-08 22:38:00 -04: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