Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
119ca90
initial branch for translation
IgorSousaFront Sep 5, 2024
3cc5af4
feat: Tradução de textos para a lingua portuguesa.
feliipesouz Sep 5, 2024
48ea80d
Merge pull request #1 from pinkecode/translation
feliipesouz Sep 5, 2024
ce33978
fix: build error
codaisa Sep 5, 2024
22c0905
feat: add new design
IgorSousaFront Sep 6, 2024
9dd7d4b
feat: add next v14
codaisa Sep 6, 2024
68ff98d
feat: add gtm to project
codaisa Sep 6, 2024
23acffb
feat: change favicon and descriptions
codaisa Sep 6, 2024
341d418
feat: change favicon and descriptions
codaisa Sep 6, 2024
bb6d1b3
fix: change login canonical
codaisa Sep 6, 2024
d63a162
fix: change login canonical
codaisa Sep 6, 2024
21d7f19
fix: change photo
codaisa Sep 6, 2024
ea6f575
feat: change favicon and descriptions
codaisa Sep 6, 2024
d03f794
feat: add dark-global
IgorSousaFront Sep 6, 2024
018537c
feat: merge main into redesign
IgorSousaFront Sep 6, 2024
d7cf1c1
feat: solve layout user page
IgorSousaFront Sep 6, 2024
31bd416
feat: Continuation of the translation of texts into Portuguese
feliipesouz Sep 6, 2024
377ca50
feat: trend topics
codaisa Sep 6, 2024
cf216e0
fix: resolve build errors
codaisa Sep 6, 2024
1030f25
Merge branch 'main' of github.com:fofoca-me/fofoca-app into translation
feliipesouz Sep 6, 2024
55d8c9b
Merge pull request #1 from fofoca-me/redesign
codaisa Sep 6, 2024
0a0f061
fix: resolve trends error
codaisa Sep 6, 2024
bc5ccac
Merge branch 'main' of github.com:fofoca-me/fofoca-app
codaisa Sep 6, 2024
35a2683
fix: resolve trends error
codaisa Sep 6, 2024
295494b
Merge branch 'main' into translation
feliipesouz Sep 6, 2024
218856c
Merge pull request #3 from fofoca-me/translation
fofoca-me Sep 6, 2024
2813bae
fix: resolve trends
codaisa Sep 6, 2024
acaccd3
fix: resolve trends
codaisa Sep 6, 2024
a6d6235
fix: resolve first letter
codaisa Sep 6, 2024
1a13966
fix: solve reply card
IgorSousaFront Sep 6, 2024
56cf821
Merge branch 'main' into redesign
IgorSousaFront Sep 6, 2024
23f838e
feat: Adjust colors and texts
feliipesouz Sep 6, 2024
8999f23
Merge branch 'translation' of github.com:fofoca-me/fofoca-app into
feliipesouz Sep 6, 2024
dc5e574
feat: notifications
codaisa Sep 6, 2024
ed4a220
feat: notifications
codaisa Sep 6, 2024
98901d7
feat: notifications
codaisa Sep 6, 2024
357c2da
Merge pull request #4 from fofoca-me/translation
codaisa Sep 6, 2024
eebf637
feat: pull of the main
feliipesouz Sep 6, 2024
30edbce
fix: rebuild
feliipesouz Sep 6, 2024
80b50fb
fix: error correction for buil
feliipesouz Sep 6, 2024
cd79423
Merge pull request #5 from fofoca-me/translation
codaisa Sep 6, 2024
9cb5dd4
feat: notifications
codaisa Sep 6, 2024
c0890fb
Merge branch 'main' of github.com:fofoca-me/fofoca-app
codaisa Sep 6, 2024
cbb47cb
feat: notifications
codaisa Sep 6, 2024
6249b99
feat: notifications
codaisa Sep 6, 2024
54bc2fa
feat: change main icons
codaisa Sep 6, 2024
5c30333
chore: remove env development
akaigao Sep 7, 2024
8808d8c
fix: solve components
IgorSousaFront Sep 7, 2024
0fa17a7
feat: merge
IgorSousaFront Sep 7, 2024
0f501cc
fix: solve suggestions card layout
IgorSousaFront Sep 7, 2024
2c32e10
fix: solve favicon
IgorSousaFront Sep 7, 2024
11f6049
Merge pull request #7 from fofoca-me/redesign
codaisa Sep 7, 2024
6b16cf6
fix: resolve build error
codaisa Sep 7, 2024
fcf3576
fix: resolve build error
codaisa Sep 7, 2024
5877b6e
fix: resolve build error
codaisa Sep 7, 2024
3e560cb
fix: resolve secret
codaisa Sep 7, 2024
9b06072
fix: resolve secret
codaisa Sep 7, 2024
92b8ebb
fix: resolve secret
codaisa Sep 7, 2024
1440ca0
fix: resolve secret
codaisa Sep 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .env.development → .env.development.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,4 @@ NEXT_PUBLIC_PROJECT_ID=YOUR_FIREBASE_PROJECT_ID
NEXT_PUBLIC_STORAGE_BUCKET=YOUR_FIREBASE_STORAGE_BUCKET
NEXT_PUBLIC_MESSAGING_SENDER_ID=YOUR_FIREBASE_MESSAGING_SENDER_ID
NEXT_PUBLIC_APP_ID=YOUR_FIREBASE_APP_ID
NEXT_PUBLIC_MEASUREMENT_ID=YOUR_FIREBASE_MEASUREMENT_ID

# Twitter
TWITTER_BEARER_TOKEN=YOUR_TWITTER_BEARER_TOKEN
NEXT_PUBLIC_MEASUREMENT_ID=YOUR_FIREBASE_MEASUREMENT_ID
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
/.pnp
.pnp.js

.env

# testing
/coverage

Expand All @@ -23,10 +25,14 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
firestore-debug.log
firebase-debug.log
ui-debug.log
.pnpm-debug.log*

# local env files
.env*.local
.env.development

# vercel
.vercel
Expand All @@ -38,3 +44,7 @@ next-env.d.ts
# python
/.mypy_cache
*.py

#
firestore-debug.log
ui-debug.log
26 changes: 26 additions & 0 deletions firestore.rules
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,32 @@ service cloud.firestore {
&& isValidImages(request.resource.data.images);
allow delete: if isAuthorized(resource.data.createdBy);
}

match /trends/{tweetId} {
allow read, update: if request.auth != null;
allow create: if isAuthorized(request.resource.data.createdBy)
&& isValidText(request.resource.data.text)
allow delete: if isAuthorized(resource.data.createdBy);
}

match /notifications/{tweetId} {
allow read, update: if request.auth != null;
allow create: if isAuthorized(request.resource.data.userId)
&& isValidText(request.resource.data.type)
allow delete: if isAuthorized(resource.data.userId);
}

match /conversations/{tweetId} {
allow read, update: if request.auth != null;
allow create: if isAuthorized(request.resource.data.userId)
allow delete: if isAuthorized(resource.data.userId);
}

match /messages/{tweetId} {
allow read, update: if request.auth != null;
allow create: if isAuthorized(request.resource.data.userId)
allow delete: if isAuthorized(resource.data.userId);
}

match /users/{document=**} {
allow read, write: if request.auth != null;
Expand Down
Loading