Trevor Buckner
6184d64f89
Merge branch 'master' into pr/3263
2024-01-25 16:43:21 -05:00
Trevor Buckner
e5acbfed3a
Linting and small tweaks
2024-01-25 16:27:10 -05:00
Víctor Losada Hernández
d2306b70a9
quick fix based on review, textBin
2024-01-24 23:24:51 +01:00
Víctor Losada Hernández
8b6517eb8d
more callback errors, and cloning queries
2024-01-24 22:49:14 +01:00
Víctor Losada Hernández
067a7cd507
admin fixes, the rest( i think)
2024-01-24 22:20:01 +01:00
Víctor Losada Hernández
89fddd0210
limit search and adapt ui
2024-01-24 21:15:26 +01:00
Víctor Losada Hernández
0c167d803c
limit the search
2024-01-24 21:15:00 +01:00
Víctor Losada Hernández
162929bdca
trying to catch url with query
2024-01-23 14:02:27 +01:00
Víctor Losada Hernández
54a2f6940c
from admin to archive api
2024-01-23 10:40:53 +01:00
Víctor Losada Hernández
0243b5f491
inital commit
2024-01-23 08:09:17 +01:00
Víctor Losada Hernández
66fd56fccb
basic functionality
2024-01-22 23:52:42 +01:00
Víctor Losada Hernández
c6a5f50c76
admin page fix
2024-01-22 17:22:54 +01:00
Víctor Losada Hernández
74c7395ab9
admin look by title
2024-01-22 16:59:45 +01:00
Trevor Buckner
b0ea34cc3f
Add custom error messages.
2024-01-18 17:20:31 -05:00
G.Ambatte
fb91761c31
Merge branch 'naturalcrit:master' into separateApiErrors-#2975
2023-11-12 13:45:40 +13:00
G.Ambatte
511c38dd1e
Remove unnecessary nullish coalescing operators
2023-10-29 14:16:41 +13:00
G.Ambatte
85b0976082
Move API call error handling
2023-10-29 11:52:02 +13:00
G.Ambatte
7052337669
Remove API error message from log
2023-10-29 11:43:24 +13:00
G.Ambatte
e07d1d1ddb
Add originalUrl to error object
2023-10-29 11:27:03 +13:00
G.Ambatte
c5ebd0352d
Identify API errors and send error response
2023-10-29 11:04:07 +13:00
G.Ambatte
0845234f2f
Add brew's shareId to error info
2023-10-14 19:59:51 +13:00
Trevor Buckner
3ac0ac7568
Fix crash when not logged in
...
If not logged in, brew.authors doesn't exist, so visiting the share page crashes.
2023-10-13 23:44:34 -04:00
Gazook89
1556cf361a
Check for author in author list before increasing views.
2023-09-27 23:46:38 -05:00
Sean Robertson
3e43b058a5
Move userpage brew data clean up to app.js
2023-09-06 11:52:28 +12:00
G.Ambatte
6b49e720ca
Merge branch 'master' into trimBrewTitlesOnUserPage-#2775
2023-08-11 12:08:40 +12:00
G.Ambatte
cca882869d
Add file link to Google icon on User Page
2023-08-07 22:03:17 +12:00
G.Ambatte
7aa374e529
Merge branch 'master' into trimBrewTitlesOnUserPage-#2775
2023-07-08 19:07:55 +12:00
Trevor Buckner
a4584dc78e
Fix spec tests
2023-07-06 00:19:23 -04:00
Trevor Buckner
6344eaa17d
Handle Old Google Drive links that used 10-char shareID
...
When the Homebrewery was first made, editIds and ShareIds only had 10 characters. We later increased this to 12.
However this means some old, old Google Drive links (in the form of `googleId + editId`) were being split incorrectly because they assumed the newer 12-char length, accidentally cutting the last 2 chars from the googleId.
2023-07-06 00:10:07 -04:00
G.Ambatte
a41553637a
Add trim to brew description
2023-06-29 16:43:30 +12:00
G.Ambatte
636f2f9372
Add title trim before new saves and updates
2023-06-29 16:35:26 +12:00
Trevor Buckner
8baf0fc849
Add additional test for when logged in, but not in author list
2023-06-26 23:26:59 -04:00
Sean Robertson
a7040e554a
Fix test
2023-06-27 15:19:33 +12:00
Trevor Buckner
d0de7ca28c
Rephrasing of error texts
2023-06-26 22:48:58 -04:00
Trevor Buckner
c0164dce6a
Fix for username undefined (not logged in)
2023-06-26 17:02:28 -04:00
G.Ambatte
e88e7f852c
Add account check to Google File not found error
2023-06-26 20:40:11 +12:00
G.Ambatte
a3b2c6987f
Fix test
2023-06-26 18:08:52 +12:00
G.Ambatte
3d47b5a0bc
Fix test
2023-06-26 18:06:37 +12:00
G.Ambatte
c5f4793c23
Add owner info to missing Google file message
2023-06-26 17:43:19 +12:00
G.Ambatte
cff4f8eae5
Catch duplicate delete requests
2023-06-25 21:26:02 +12:00
G.Ambatte
4799e8b443
Fix test
2023-06-25 21:10:28 +12:00
G.Ambatte
fa38d5c892
Additional info in errors
2023-06-25 20:39:36 +12:00
G.Ambatte
04eb7d0556
Add brew title to Not an Author page
2023-06-25 20:13:13 +12:00
G.Ambatte
f175323221
Use common error object to reduce DRY
2023-06-25 18:22:22 +12:00
G.Ambatte
9f4de3c66e
Fix test
2023-06-25 18:16:57 +12:00
G.Ambatte
800bff611a
Fix test
2023-06-25 18:14:12 +12:00
G.Ambatte
e28b6e7a19
Differentiate Not an Author from Not logged in
2023-06-25 18:10:31 +12:00
G.Ambatte
4c6de90d82
Fix test
2023-06-25 17:13:37 +12:00
G.Ambatte
e5ef0aedd3
Pass all error properties to message generator
2023-06-25 17:10:25 +12:00
G.Ambatte
da8e7ec610
Change Not an Author to 401
2023-06-25 16:51:17 +12:00