Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove lastLogin column from Users table #321

Closed
wants to merge 22 commits into from

Conversation

shravanhariharan2
Copy link
Collaborator

Closes #211

@github-actions
Copy link

github-actions bot commented Nov 9, 2022

Thanks for contributing! If you've made changes to the API's functionality, please make sure to bump the package version—see this guide to semantic versioning for details—and document those changes as appropriate.

Copy link
Contributor

@dowhep dowhep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

Copy link
Contributor

@meshachadoe meshachadoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@farisashai
Copy link
Member

@shravanhariharan2 Is this good to merge

@shravanhariharan2
Copy link
Collaborator Author

Holding off on merge until #226 is resolved, so that we can use this PR to test if automated migrations work.

@shravanhariharan2 shravanhariharan2 added the Hold Off On Merge Wait to merge pull request until some condition is met label Apr 7, 2023
nik-dange and others added 17 commits December 19, 2023 09:20
* attendences from user uuid

* lint and bugfix

* check same user

* controller factory changes

* lint fixes

* unit test for get attendance by uuid

* lint

* add permision

* add types

* add everything else

* rename migrtion

* test when permision is off

* lint

* forgor to add

* change permission name and fix logic a bit

* rename permission, change patch user

* lint fix

* lint fix

* oops

* check user exists

* lint

* new ci

---------

Co-authored-by: Max Weng <[email protected]>
* started migration

* almost completed the query

* change MerchandiseItemModel picture to pictures

* renamed Merchandise to MercahndiseItems

* generated a new model for the pictures

* fixed syntax error with migration

* understand and fix casting error

* edited requests and created some todos

* return position == 0 instead of first picture in array

* migration temp fix

* this one line of code would attach pictures to the collection so that the frontend can display the first picture

* edited some todos to implement a new idea

* edited the service

* created a repository for photos

* Completed the photo create route

* completed the photo deletion route

* getting started with seeding

* make sure the index is consistent

* removed the current file name from url for security purpose

* quick linting

* edited seeding to ensure correctness

* update MerchFactory item for photo support

* refactor and renaming variables

* wrote outline for test and rewrote a method

* fix error

* edits

* removing some junk code

* the error is playing hide and seek with me

* im such a genius

* removing partial debug msgs

* edits

* fixed the order item test

* finished creating tests and pass all tests

* fixed some error

* I CHATGPTED THE SQL AND IT WORKED

* fixed linting error

* edit migration number order

* clean up some unused variables

* renamed picture to uploadedPhoto and photo to merchPhoto for clarity, added some documentation

* remove magic number

* slight seeding edit

* removed position logic

* clarify cascading quetsion

* fixed cascade

* clean up

* clarify seeding data structure

* link fix

* change position in request to string because form data does not accept number

* throw error if position is not a number

* updated deletion logic to delete from s3 first

* link fix

* default url logic fix for positions no longer being 0

* Get another user's event attendance (#358)

* attendences from user uuid

* lint and bugfix

* check same user

* controller factory changes

* lint fixes

* unit test for get attendance by uuid

* lint

* add permision

* add types

* add everything else

* rename migrtion

* test when permision is off

* lint

* forgor to add

* change permission name and fix logic a bit

* rename permission, change patch user

* lint fix

* lint fix

* oops

* check user exists

* lint

* rename tests

* public profile change

* change user model

* lint

* tests

* lint

* updated api version

---------

Co-authored-by: Nikhil Dange <[email protected]>

* staging deployment workflow (#381)

* bumped my migration file number

* bumped my migration file number v2

* remove local settings.json change

* added edge case for migration up

* lint

* lint

---------

Co-authored-by: Max Weng <[email protected]>
Co-authored-by: Nikhil Dange <[email protected]>
Co-authored-by: Nikhil Dange <[email protected]>
* migration

* Schema and response classes and interfaces

* validators and naming

* Merch Collection Photo Repository

* repository and models stuff

* api request bug

* renaming and bugfix

* renaming and stuff

* types

* add/delete collection photo, edit collection fix service

* naming and documentation

* migration name fix

* delete controller

* renaming and shifting types for consistency

* factory and start seed

* bugfixes for postman test

* tests

* weird tests stuff

* deletion logic change, cascade delete

* sort fix

* ling

* naming and some position logic

* merge stuff

* seed data change

* test change

* remove automatically end of the list

* lint stuff

* build and lint fix

* lint

* more lint

* fix migration
* how does this work

* added basic rate limiting for all routes

* rate limiter config change

* testing /user with rate limit
* how does this work

* added basic rate limiting for all routes

* rate limiter config change

* testing /user with rate limit

* potentially get around proxies

* cleaned up
nik-dange and others added 2 commits March 9, 2024 13:30
@nik-dange nik-dange closed this Mar 28, 2024
@nik-dange nik-dange deleted the shravan/remove-lastLogin-column branch March 28, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hold Off On Merge Wait to merge pull request until some condition is met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lastLogin column of "Users" table doesn't ever get updated
6 participants