NMerz
be80129de6
Update list sharing
...
Fix quite a variety of bugs with list sharing, mostly relating to ListShareGET not conforming to its contract
2020-11-30 12:16:29 -05:00
NMerz
d8f722c4ac
Fix other user email retrieval
...
The id argument needs to actually be used
2020-11-30 10:40:38 -05:00
NMerz
53570b3356
User retrieval updates
...
Make sure AuthManager always has the user email.
Make UserGET always return a User object.
2020-11-30 10:35:46 -05:00
NMerz
e528830474
Handle no access to list
...
Handle user not having access to list with many sharees
2020-11-29 21:42:53 -05:00
NMerz
0b85980d2a
User ease of use
...
Make email retrieveable client-facing
2020-11-29 21:41:38 -05:00
NMerz
8ecee59da9
Make ListShareGET work
...
Fix absolute functionality-breaking bugs. There is still a fair amount of funkiness and lack of polish (such as having other and entried in the Lambda return).
In addition, the NULL uiPositions that got put in the database may need cleaning up manually.
2020-11-29 15:45:08 -05:00
NMerz
70195632f8
Store Profile Picture on AWS
...
Save the profile picture to AWS so that the user need not retrieve it every time.
2020-11-29 15:19:10 -05:00
NMerz
bede2fc1a0
ListShare compiling
...
Make ListShare compile again
2020-11-29 14:06:02 -05:00
Nathan Merz
c596a87373
Merge pull request #118 from ClaytonWWilson/list-duplication
...
List duplication
2020-11-20 15:57:26 -05:00
Nathan Merz
e3d0b639c3
Merge branch 'master' into list-renaming
2020-11-20 15:56:57 -05:00
Nathan Merz
f84bc2014d
Merge branch 'master' into intra-list-ordering
2020-11-20 15:54:21 -05:00
Nathan Merz
f54978dddb
Core Module readme
2020-11-20 15:49:20 -05:00
Nathan Merz
25faa54a59
Client-Facing Lambdas overview
2020-11-20 14:35:25 -05:00
Aaron Sun
6e3402a8e5
Merge branch 'master' into aaron-branch-2
2020-11-15 17:36:31 -08:00
41f8ccbf30
Merge branch 'improvements' into list-renaming
2020-11-15 20:18:53 -05:00
NMerz
616caa1e10
List renaming
...
Added list reanming through a ListPUT lambda. Potentially could be used to alter other List aspects in the future.
Also renamed itemID to listID for semantic unity
2020-11-15 17:55:25 -05:00
Nathan Merz
254f771e6e
Merge pull request #119 from ClaytonWWilson/chain-get-ids
...
Add chain id list retrieval
2020-11-15 17:29:52 -05:00
NMerz
f8db33bde4
Add chain id list retrieval
...
Update ChainGetter to work with getListOfIds
2020-11-15 17:29:37 -05:00
NMerz
27f0d74422
Add list duplication lambdas
2020-11-15 17:18:30 -05:00
Aaron Sun
5f14d24625
Wrote the Lambdas API for getting and deleting list sharees -- testing still needed
2020-11-15 12:04:04 -08:00
NMerz
1fe04e038b
Refine repositioning logic
2020-11-15 12:28:18 -05:00
NMerz
ce8070cf43
Merge branch 'sharing-permissions' into intra-list-ordering
2020-11-15 10:39:45 -05:00
NMerz
7d827a4a7e
Handle unshares with PUT
2020-11-15 10:38:43 -05:00
NMerz
35f709fcd9
Add list position changing Lambdas
...
Initial shot at repositioning Lambdas.
2020-11-14 16:21:18 -05:00
NMerz
421fceb364
Store uiPosition
...
This will later be changeable and can then be used to sort lists received by the UI controller
2020-11-14 15:55:29 -05:00
NMerz
7cb9639f9a
Refine delete access
...
The requestor's access cannot be removed until after permissions are checked. Note, if the user does have permissions, they are remove along with all other users below these changes.
2020-11-14 15:17:56 -05:00
NMerz
2c23331354
Finish ON DUPLICATE in list sharing
2020-11-14 15:16:52 -05:00
NMerz
b478ace552
Update delete to use delete permission
...
Previously used list creator as filter
2020-11-14 15:02:04 -05:00
NMerz
d4606df350
Fix unique assertion on share rows
2020-11-14 15:01:36 -05:00
NMerz
3b938bdd2c
Recracterize ListSharePOST as ListSharePUT
...
Semantically, this is now an update and so should be PUT
2020-11-14 14:35:08 -05:00
NMerz
9de8f425c7
Merge branch 'search-history' into sharing-permissions
2020-11-14 14:32:27 -05:00
NMerz
954b52dc0a
Stricter access checking
...
Properly restrict access to list actions to only authorized users.
2020-11-14 14:29:48 -05:00
NMerz
82272a9a29
Set permission param
...
Ensure permssion parameter is getting set when sharing a list
2020-11-14 12:46:33 -05:00
NMerz
3afaad89ea
Use plain table search history
...
This is easier, clearer, faster for inters, and ultimately not really much less space efficient than trying to store this in a serialized nor unreasonably slow for retrievals.
Food for thought: Would this might be well-suited to a nosql database?
2020-11-14 12:05:50 -05:00
NMerz
8653b9a035
Try storing serialized search object
...
Does not seem to be the best solution (https://stackoverflow.com/questions/17662236/java-write-object-to-mysql-each-field-or-serialized-byte-array ) and does not entirely work, but saving it for posterity because there are some interesting changes here
2020-11-14 11:40:42 -05:00
NMerz
709812d0c1
Login updates
...
Skip the login screen if the user is logged in
2020-11-06 12:51:34 -05:00
NMerz
87039579f7
Send more detailed account deletion email
...
Use SES to send an account deletion confimration email to the user when they delete their account.
2020-11-04 22:08:34 -05:00
NMerz
7412915034
Allow non-owner semi-delete
...
Non-owners should be able to remove only their own access to a list
2020-11-01 21:48:05 -05:00
NMerz
48f96c4146
Add chainID to Chain class Lambda
2020-11-01 21:08:07 -05:00
NMerz
a12b1ae870
Update lambda tests
...
Update lambda tests for new and altered lambdas
2020-11-01 12:46:03 -05:00
Nathan Merz
567f0ccc00
Merge pull request #81 from ClaytonWWilson/list-share-lambda
...
Correct shareWithEmail naming
2020-11-01 12:01:44 -05:00
NMerz
9c9da446ef
Make shared info avlaible for lists
2020-11-01 12:00:50 -05:00
NMerz
2cce80ffbd
Correct shareWithEmail naming
...
Ths somehow ended up different on the client and the server
2020-11-01 11:34:34 -05:00
71487c818a
Merge pull request #71 from ClaytonWWilson/list-share-lambda
...
List share lambda
2020-10-31 21:17:33 -04:00
004c5de314
Merge pull request #77 from ClaytonWWilson/list-delete
...
ListDELETE lambda
2020-10-31 21:17:17 -04:00
NMerz
8233a989ef
ListDELETE lambda
...
List deletion now working
Integration tested independently.
Still needs tests and user deletion should now use this.
2020-10-31 14:54:42 -04:00
NMerz
34d74aae6a
Treat ListSharee as access table
...
This is so that multiple users can be paired with a single list.
In the future, we may want to reconsider list deletion behavior to simply remove a user's access and only delete it when no one has access.
We may also want the user deletion Lambda to use the list deletion Lambda when it is created.
2020-10-24 14:46:56 -04:00
NMerz
2637cab282
Create userID retrieval Lambda
...
Allow for the retrieval of userIDs from email (or just generally).
This may need the apigateway passthrough info modified for privacy protection
2020-10-24 12:52:45 -04:00
NMerz
45c7ac15bd
Limit item search results
...
Add a limit on item search results so the user is not overwhelmed.
2020-10-24 11:53:12 -04:00
43bd0a7fb4
Merge pull request #60 from ClaytonWWilson/layout-improvements
...
Layout improvements
2020-10-09 01:36:45 -04:00
Clayton Wilson
c1a8103da8
Various layout improvements
2020-10-09 01:35:16 -04:00
NMerz
f4d1458eb7
Update StatementInjector for missing rsReturns
2020-10-09 00:15:57 -04:00
NMerz
86975532bc
Merge identical ListEntries
...
Each productID should have a single list entry
2020-10-09 00:11:44 -04:00
Clayton Wilson
38aea790d8
UserDeleter 'unit tests'
2020-10-08 23:07:53 -04:00
Nathan Merz
22a39c7ed7
Merge pull request #53 from ClaytonWWilson/APIUnitTests
...
Clean up double toStrings
2020-10-08 21:28:54 -04:00
NMerz
69df93fb9f
Clean up double toStrings
2020-10-08 21:28:28 -04:00
e16fafeaa0
Merge branch 'master' into connect-to-db
2020-10-08 19:29:11 -04:00
Nathan Merz
9c1eb06f02
Merge branch 'master' into APIUnitTests
2020-10-08 19:10:16 -04:00
NMerz
d14383ff2e
Test id retrieval
2020-10-08 19:07:02 -04:00
NMerz
b07fead480
Lambda Delete Tests
...
Also include a contract fix for ListEntryDeleter
2020-10-08 19:01:09 -04:00
NMerz
508818c700
Lambda unit test infrastructure
...
Unit test infrastructure for testing GET and POST Lambdas
2020-10-08 18:34:06 -04:00
Clayton Wilson
c5bb117136
User delete lambda
2020-10-08 17:49:50 -04:00
NMerz
3feb8a4317
Shift ItemEntry columns for listID
...
listID is in column 1
2020-10-08 17:08:10 -04:00
Clayton Wilson
925a249b4c
user delete debugging
2020-10-08 12:34:14 -04:00
NMerz
c9751d4f95
Add Core Lambda Unit tests
2020-10-07 00:04:17 -04:00
NMerz
a43776e5dc
Enforce schema matching
...
Ensure all Lambdas and tests follow the current db schema
2020-10-06 21:54:04 -04:00
NMerz
56c9a3f99d
Switch to millis for times
...
There are issues with the serialization of the time objects since the constructors are not public. Passing times around in milliseconds avoid them.
2020-10-06 21:39:23 -04:00
NMerz
68051fdaca
Item Search V1
...
Still needs testing.
2020-10-05 22:54:43 -04:00
NMerz
8c526d3b8d
SignOut and forced signout on delete
...
Added signout functionality and forced signout on delete.
2020-10-05 22:27:24 -04:00
NMerz
fe846fb81f
Delete Lambda prototype
...
Prototype the User DELETE lambda. Amplify does not include this functionality, so putting it in a Lambda with the fine-grained API. This currently does not invalidate outstanding tokens nor does it clean up the database.
@claytonwwilson You will want to add the clean up code instead of the deleted stuff in UserDeleter
2020-10-05 12:29:28 -04:00
NMerz
81b4673766
Lamdba Integration
...
Test Lamdbas with full pipeline of client through database
2020-10-03 23:00:19 -04:00
NMerz
1f361cf401
Finish V1 of List and Item Lambdas
...
List and Item Lambdas and client calls should be roughly finished (pending full testing once databse config is done).
2020-10-03 18:35:27 -04:00
NMerz
f107ab023d
GET strcuture
...
Build out infrastructure for get requests (along with the first couple).
This includes changing the request engine from Volley to OKHTTP due to issues get Volley's callbacks to call back.
2020-10-03 17:37:46 -04:00
NMerz
69572b3a1f
Generify endpoint groups as IntelliJ Modules
...
This allows them to be built sperately decreasing JAR size and also creates a better structure for generic service functions and business logic.
2020-10-03 11:22:35 -04:00
NMerz
2c9334ee9e
Client API connection infrastructure
...
Create the infrastructure for the client to connect to API gateway in a generic manner. Tested with the ListPOST lambda.
2020-09-27 11:54:26 -04:00
NMerz
de0bd51eaf
Basic ListAdd Lambda
...
Create a basic list adding Lambda.
NOTE: This does not include the following which are still needed:
1) Permanent DB Setup
2) Better RDS access control with security groups
3) Proper input parameters for the List add Lambda
2020-09-26 16:53:44 -04:00
NMerz
bbe0daff43
Allow multiple method creation
...
A resource should be able to accept multiple methods
2020-09-26 11:15:06 -04:00
NMerz
74eeb2a09d
Start Lambda connection infrastructure
2020-09-20 23:33:36 -04:00
NMerz
f576307e0a
Set up initial Lambda sturucture with Cognito
...
Create demo Lambda/Gateway pair with Cognito integration
2020-09-20 16:26:13 -04:00