Skip to content

Dev#65

Merged
MarioRaafat merged 79 commits intomainfrom
dev
Nov 15, 2025
Merged

Dev#65
MarioRaafat merged 79 commits intomainfrom
dev

Conversation

@MarioRaafat
Copy link
Owner

No description provided.

Mag-D-Anas and others added 30 commits October 18, 2025 18:16
* style(eslint): add eslint configuration

* style(prettier): add prettier configuration

* style(git-hooks): add pre commit script to ensure code style rules

* chore(eslint): separate lint and lint fix commands

* fix(chat): add missing TypeOrmModule.forFeature imports

* style(eslint): downgrade unused-vars rule severity from error to warn
* style(eslint): add eslint configuration

* style(prettier): add prettier configuration

* style(git-hooks): add pre commit script to ensure code style rules

* chore(eslint): separate lint and lint fix commands

* fix(chat): add missing TypeOrmModule.forFeature imports

* fix(code-style): fix indentation and sort imports for consistency

---------

Co-authored-by: Mario Raafat <136023677+MarioRaafat@users.noreply.github.com>
* feat(profile): add user entity classes

* feat(profile): get me

* feat(profile): add optional jwt guard to user routes

* feat(profile): get user profile

* fix(profile): fix linter bugs

* feat(profile): add country and interests in schema

* feat(profile): get follows, mutes, blocks

* feat(profile): add following filter to get followers

* refactor(profile): move all queries to user repository
…obile team

* feat(auth): add 2 endpoints for mobile OAuth and edit both login and reset pass

* fix(auth): edit github funtion + reset password

* fix(auth): integrated done
MoBahgat010 and others added 27 commits October 31, 2025 16:16
* feat(profile): add user entity classes

* feat(profile): get me

* feat(profile): add optional jwt guard to user routes

* feat(profile): get user profile

* fix(profile): fix linter bugs

* feat(profile): add country and interests in schema

* feat(profile): get follows, mutes, blocks

* feat(profile): add following filter to get followers

* refactor(profile): move all queries to user repository

* feat(profile): follow, mute, block user

* feat(profile): unfollow, unmute, unblock user

* test(profile): controller unit tests - part 1

* test(profile): service unit tests - part 1

* feat(profile): remove follower

* feat(profile): update profile

* feat(profile): get users by id/username

* fix(profile): fix get users by username

* fix(db): add country column migration

* feat(profile): upload avatar/cover

* fix(profile): fix upload file swagger

* feat(profile): assign user interests

* feat(profile): change language

* fix(profile): update followers/ing counts

* fix(profile): remove join from profile query builder
* feat(profile): add user entity classes

* feat(profile): get me

* feat(profile): add optional jwt guard to user routes

* feat(profile): get user profile

* fix(profile): fix linter bugs

* feat(profile): add country and interests in schema

* feat(profile): get follows, mutes, blocks

* feat(profile): add following filter to get followers

* refactor(profile): move all queries to user repository

* feat(profile): follow, mute, block user

* feat(profile): unfollow, unmute, unblock user

* test(profile): controller unit tests - part 1

* test(profile): service unit tests - part 1

* feat(profile): remove follower

* feat(profile): update profile

* feat(profile): get users by id/username

* fix(profile): fix get users by username

* fix(db): add country column migration

* feat(profile): upload avatar/cover

* fix(profile): fix upload file swagger

* feat(profile): assign user interests

* feat(profile): change language

* fix(profile): update followers/ing counts

* fix(profile): remove join from profile query builder

* refactor(profile): refactor profile query builder

---------

Co-authored-by: Mario Raafat <136023677+MarioRaafat@users.noreply.github.com>
* feat(db): add user-follows seed

* fix(db): make max nubmer for followers and following 10 for now

* feat(db): add tweet likes and reposts seeds

* chore(db-seed): comment tweet-reposts seed for now

---------

Co-authored-by: Mario Raafat <136023677+MarioRaafat@users.noreply.github.com>
* feat(validation): enable implicit conversion for query params

* feat(logging): add query logger for debugging

* feat(timeline): init following timeline service

* feat(tweet): move timeline queries to tweet repository

* feat(timeline): edit pagination meta in response body

* feat(timeline): add get following timeline

* fix(timeline): fix pagination limit parameter

* feat(timeline): add random for you timeline

* feat(timeline): add reposts  to both endpoints

* fix(timeline): show users tweets in their folllowing timeline

* fix(timeline): add tweets count to data
* feat(auth): bypass option for recaptcha

* fix(auth): correct environment variable check for production
* feat(tweets): implement replies feature with pagination and user details + fix user responses structure

* feat(auth): update user response structure to include full user object and additional fields
* feat(tweets): implement replies feature with pagination and user details + fix user responses structure

* feat(auth): update user response structure to include full user object and additional fields

* feat(swagger): add server URL to Swagger configuration if defined
* refactor(bg jobs): remove rabit

* feat(bg jobs): add send otp background job

* fix(auth): update test files for auth

* feat(bg jobs): done testing for bg emails
* feat(timeline): add service unit tests

* feat(timeline): add controller  unit tests

* fix(timeline): add 20 as default value for pagination limit

* fix(timeline): add reposted by dto to response body

* fix(timeline): add is_following attribute to response body
* feat(verification): add config service for bypassing OTP validation in tests

* feat(validations): add AgeRangeValidator for birth date validation

* refactor(user): remove unnecessary Exclude decorators from user entity fields
and use instanceToPlain for user objects in responses

* feat(validations): add max length validation to various DTOs
* feat(profile): delete avatar/cover

* feat(profile): delete account

* refactor(profile): add UploadFileResponseDto

* chore(profile): posts service calls and parameters

* test(user): user controller unit tests

* test(user): user service unit tests

* test(user): get profile + basic repository queries unit test

* test(user): insert/delete relationships repository unit tests

* refactor(user): validate deleting relationships using rows affected

* fix(user): decrement follower/ing counts in block

* test(user): validations + insert interests user repository unit tests

* fix(user): throw user not found error in getFollowers/ing

* fix(user): set language type to "en" | "ar"

---------

Co-authored-by: Mario Raafat <136023677+MarioRaafat@users.noreply.github.com>
* docs(api): add endpoint status

* docs(api): update swagger icons
* refactor(tweets): offset pagination for likes

* refactor(tweets): offset pagination for reposts

* refactor(tweets): offset pagination for reposts

* fix(tweets): some changes

* fix(tweets): some changes

* fix(tweets): some changes

* fix(tweets): some changes

* fix(tweets): some changes

* fix(tweets): some changes

* fix(tweets): some changes

* fix(tweets): start changes

* fix(tweets): refactor tweets

* fix(tweets): extra code cleaning + lent problems

* fix(migrations): update schema migrations and disable auto-sync

* fix(tweets): final changes

* test(tweets): coverage

* feat(tweets): optional guard

* fix(tweets): package-lock

* fix(tweets): package-lock

* fix(tweets): package-lock

---------

Co-authored-by: shady-2004 <shadyshiko2004@gmail.com>
Co-authored-by: Mario Raafat <136023677+MarioRaafat@users.noreply.github.com>
* fix(db): add pgcrypto uuid extension

* fix(db): remove db url and add config service instead

---------

Co-authored-by: AmiraKhalid04 <amirakhaled928@gmail.com>
Co-authored-by: Amira Khalid <149877108+AmiraKhalid04@users.noreply.github.com>
* test(all): add some unit tests

* test(app): add some missing test files

* test(app): 0failed and 0 error

* test(app): add some tests for DTOs

* test(app): hit 70% coverage

* test(app): hit 80% coverage

* test(app): hit 90% coverage & fix some lengths conditions
@MarioRaafat MarioRaafat merged commit 3d0e8ad into main Nov 15, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants