Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

[pull] staging from oasis-sh:staging #8

Open
wants to merge 2,197 commits into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2197 commits
Select commit Hold shift + click to select a range
d52b7fa
feat(docs): add typeorm migration to api docs
heybereket Jun 10, 2021
490b180
chore(docs); fix typeorm migrations script example
heybereket Jun 10, 2021
b95ab89
chore(deps): Upgraded deps
HenryLeC Jun 10, 2021
c625c36
fix(web): Stopped reinterpreting exception as HTML
HenryLeC Jun 10, 2021
b03e88a
fix(web + ui) (#389)
i0x0 Jun 10, 2021
2353e38
feat(api): make OASIS_API_SESSION_SECRET optional
heybereket Jun 10, 2021
a008920
feat(api): move port const to constants
heybereket Jun 10, 2021
59194fc
feat(api): put createApp inside a try and catch block
heybereket Jun 11, 2021
9581c70
chore(api): move nodeMajor to constants
heybereket Jun 11, 2021
d64d0e2
feat(api): Added ability ro report Users, Posts, Comments, and Resorts
HenryLeC Jun 11, 2021
d49c3f3
feat(api): Added Not Banned to all mutations
HenryLeC Jun 11, 2021
7da2a2b
Merge branch 'staging' of github.com:oasis-sh/oasis into staging
heybereket Jun 11, 2021
2dfffab
feat(api): Added SelfOnly decorator to only allow getting a property …
HenryLeC Jun 11, 2021
ac7418f
Merge branch 'staging' of github.com:oasis-sh/oasis into staging
heybereket Jun 11, 2021
6e7002e
chore(api): add middleware as a absolute path
heybereket Jun 11, 2021
b52dc76
feat(api): Added [NO-BAN] ovveride
HenryLeC Jun 11, 2021
51e4d93
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
HenryLeC Jun 11, 2021
e0bce64
refactor(api): clean up initializeServer
heybereket Jun 11, 2021
f08925d
chore(deps): Upgraded old deps
HenryLeC Jun 11, 2021
fbf383d
feat(client): rename to sdk
heybereket Jun 11, 2021
b1b89bc
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
HenryLeC Jun 11, 2021
f05ae98
feat(api): move redis to service directory
heybereket Jun 12, 2021
7c31e84
chore(api): move redisStore to service/redis
heybereket Jun 12, 2021
3932f17
feat(api): move connection to database to service/database
heybereket Jun 12, 2021
f2f2fb7
feat(api): rename service to services
heybereket Jun 12, 2021
716addf
chore(api): change db connection success message
heybereket Jun 12, 2021
ec47da4
fix(api): fixed typo
BronzW Jun 12, 2021
baa9fb9
Merge branch 'staging' of github.com:oasis-sh/oasis into staging
heybereket Jun 12, 2021
a4ae20c
chore(api): move process.env.TESTING if else into 1 statement
heybereket Jun 12, 2021
31a1edd
chore(api): add 'successfully' to database connection message
heybereket Jun 12, 2021
eb1c2f7
chore(api): move await getDatabase() to top of file
heybereket Jun 12, 2021
99ca89d
refactor(api): make checkEnv a const and remove additionalValidation
heybereket Jun 12, 2021
7b12e5f
refactor(api): build file + lint
heybereket Jun 12, 2021
0df6539
feat(sdk): Bring SDK to a whole new level
Angshu31 Jun 12, 2021
062d0df
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
Angshu31 Jun 12, 2021
5c1825b
feat(api): change typings to enums and refactor
heybereket Jun 12, 2021
c4a2d92
feat(api): rename getSchema to createSchema and rename modules to auth
heybereket Jun 12, 2021
5f7e469
feat(api): check if username matches regex
heybereket Jun 12, 2021
5615195
fix: renamed attribute (#394)
Simplyalex99 Jun 12, 2021
805f99b
fix(web): ssrRequest schema path
heybereket Jun 12, 2021
60b9c76
chore(api): enable more options to ApolloServer config
heybereket Jun 12, 2021
b77ec08
feat(api/web): added notification page, general changes and updates
BronzW Jun 12, 2021
4dbd846
chore(api): remove CacheControl
heybereket Jun 12, 2021
efae23c
feat(api): added a few automated tasks that create a notification whe…
BronzW Jun 12, 2021
ac03aef
feat(api): Added simple rate limiting
HenryLeC Jun 12, 2021
9b7258e
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
HenryLeC Jun 12, 2021
a38986c
chore(api): move rate limit time to constants
heybereket Jun 12, 2021
30b3aa2
fix(tailwind): Finally fixed tailwind not picking up new styles
HenryLeC Jun 13, 2021
064477f
feat(web): Added ability to report posts
HenryLeC Jun 13, 2021
0bea5f6
fix(api): graphql playground connecting issues
heybereket Jun 13, 2021
b45520a
chore(config): turn off computed-key error
heybereket Jun 13, 2021
63d872b
fix(api): enable introspection in prod
heybereket Jun 13, 2021
ad1d96e
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
BronzW Jun 13, 2021
d2cfa78
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
BronzW Jun 13, 2021
8a30df2
fix(api): fixed import
BronzW Jun 13, 2021
b7e3995
fix(global): linting
BronzW Jun 13, 2021
f0185a0
fix(api): Removed rate limiting as it was taking far too long
HenryLeC Jun 13, 2021
b13f548
feat(utils): setup
heybereket Jun 13, 2021
e83baf1
feat(dockerfile): add utils to be copied
heybereket Jun 13, 2021
4705787
chore(scripts): add @oasis-sh/utils to build:all and build:dev
heybereket Jun 13, 2021
05e038d
fix(scripts): build utils before ui
heybereket Jun 13, 2021
c86369c
feat(web): Added dunce cap svg
HenryLeC Jun 13, 2021
46b4f94
feat(api): rename services to config + setup s3 config
heybereket Jun 14, 2021
926657d
feat(ui): Changed all links to Next Links
HenryLeC Jun 14, 2021
88b16c5
refactor(web): use request util to fetch piston runtimes
heybereket Jun 14, 2021
9ef9f69
feat(utils): rename to shared
heybereket Jun 14, 2021
bfc1325
fix(dockerfile): rename utils to shared
heybereket Jun 14, 2021
1cf0e6f
chore(web): change [postId] to [id]
heybereket Jun 14, 2021
da0cb53
Added new route for spotify (#395)
Simplyalex99 Jun 14, 2021
64def12
chore(mobile): remove tailwind config, purge from web
heybereket Jun 14, 2021
cff96ea
Merge branch 'staging' of github.com:oasis-sh/oasis into staging
heybereket Jun 14, 2021
8264d58
feat(web): add scrollbar and typography tailwind plugins
heybereket Jun 14, 2021
e627909
feat(web): Added ability to upload image and link it to post
HenryLeC Jun 14, 2021
ea9d4a7
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
HenryLeC Jun 14, 2021
cffffbb
chore(global): Updated yarn lock
HenryLeC Jun 14, 2021
415dd6d
refactor(api): simplify s3 uploading + add Status enum
heybereket Jun 15, 2021
6227b60
fix(api): s3 uploading bug
heybereket Jun 15, 2021
f4493aa
fix(api): Fixed file uploading
HenryLeC Jun 15, 2021
fa4fd61
chore: Deleted old ecosystem files
HenryLeC Jun 15, 2021
bb90b2c
chore(docker): Added new envs to dockerenv example
HenryLeC Jun 15, 2021
828510a
feat(api): Added auth checking to upload
HenryLeC Jun 15, 2021
865620d
feat(api): Cap image uploads at 3mb. Only allow images
HenryLeC Jun 15, 2021
c9140da
fix(api): Added returns to checking on upload
HenryLeC Jun 15, 2021
f6ea92d
chore(vsc): Add tasks file
HenryLeC Jun 15, 2021
3082d93
fix(api): Added try catch to createContext
HenryLeC Jun 15, 2021
210816e
feat(web): next 11
heybereket Jun 15, 2021
771c093
Merge branch 'staging' of github.com:oasis-sh/oasis into staging
heybereket Jun 15, 2021
abe184e
fix(web): ignore eslint during builds
heybereket Jun 15, 2021
3d056e1
fix(api): Changed username regex
HenryLeC Jun 15, 2021
0d78958
fix(api): Removed date type from notification created at
HenryLeC Jun 15, 2021
fdc9236
feat(api): switch to ioredis
heybereket Jun 16, 2021
06a5432
feat(web/ui): Started working on new home ui
HenryLeC Jun 16, 2021
ce700e0
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
HenryLeC Jun 16, 2021
3b9847b
feat(web): add original colours to new redesign
heybereket Jun 16, 2021
5c76fb0
feat(api): rename entities to entity and resolvers to resolver
heybereket Jun 16, 2021
abd8fb7
feat: added connection creator (#404)
Simplyalex99 Jun 16, 2021
118d033
feat(api): rename enums to enum and fix resolvers path
heybereket Jun 16, 2021
2994f1d
feat(web/api): Added images to posts
HenryLeC Jun 16, 2021
c6d9bf3
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
HenryLeC Jun 16, 2021
10b501e
Revert "feat(api): rename enums to enum and fix resolvers path"
HenryLeC Jun 16, 2021
e8b73a6
Revert "feat(api): rename entities to entity and resolvers to resolver"
HenryLeC Jun 16, 2021
bab3b3e
chore(deps): Upgraded all deps
HenryLeC Jun 16, 2021
de3928b
feat(api): Added webp convert
HenryLeC Jun 17, 2021
592f754
feat(api): Added rate limit to upload
HenryLeC Jun 17, 2021
0f8cd24
fix(api): removed useless method
BronzW Jun 17, 2021
e2307d6
fix(web): fixed notification logic not working properly
BronzW Jun 17, 2021
d947d12
chore(deps): Upgraded deps
HenryLeC Jun 17, 2021
468446d
chore(deps): Upgraded dps
HenryLeC Jun 17, 2021
472847a
fix(web): fixed make post input height
BronzW Jun 17, 2021
4bac07e
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
BronzW Jun 17, 2021
91c9bd1
fix(web): Fixed post on UserPage not getting re-rendered
HenryLeC Jun 17, 2021
c65b175
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
HenryLeC Jun 17, 2021
30e4f0b
fix(web): made so send message button doesn't show if viewing your ow…
BronzW Jun 17, 2021
c819084
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
BronzW Jun 17, 2021
84ce7b5
fix(web): fixes
BronzW Jun 17, 2021
6555434
fix(api): Stopped notifs spam
HenryLeC Jun 17, 2021
7cbab40
feat(web/ui): Added infinite scroll to posts and likes tabs
HenryLeC Jun 18, 2021
9ae5f83
chore(docs): fix #2 in api installation
heybereket Jun 18, 2021
ecf02ba
chore(web): stop console logging new data
heybereket Jun 18, 2021
c2b51e9
Merge branch 'staging' of github.com:oasis-sh/oasis into staging
heybereket Jun 18, 2021
3001221
Fix SQLite Feed Error & CustomLink Tweaks (#410)
Jun 18, 2021
1a6e940
feat(web): new homepage stuff
f1shy-dev Jun 18, 2021
a1e208e
fix(web): centered logo
BronzW Jun 18, 2021
549a2c9
feat(api): Added liking and disliking to comments
HenryLeC Jun 18, 2021
727ff58
feat(web/ui): Added comments section to user page
HenryLeC Jun 18, 2021
e84397d
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
BronzW Jun 18, 2021
3faf030
feat(ui): translations
heybereket Jun 18, 2021
6469df7
feat(web): Show comments on post page
HenryLeC Jun 18, 2021
9558c69
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
HenryLeC Jun 18, 2021
a0964a6
chore(ui): fix translations bug
heybereket Jun 18, 2021
496883e
Merge branch 'staging' of github.com:oasis-sh/oasis into staging
heybereket Jun 18, 2021
36432bb
refactor(web/ui): import i18n file globally
heybereket Jun 18, 2021
e2acd15
feat(global): move eslint and prettier config to root
heybereket Jun 19, 2021
7fce666
chore(global): add prettier to lint script and lint
heybereket Jun 19, 2021
f5eb692
chore(workflows): removed paths on lint workflow
heybereket Jun 19, 2021
217a558
feat(ui): profile & post tweaks (#419)
Jun 19, 2021
e4b91e7
Revert "feat(ui): profile & post tweaks (#419)" (#420)
HenryLeC Jun 19, 2021
b9e0b86
ui: profile & post tweaks (#421)
Jun 19, 2021
335b7d9
chore(scripts): cleanup
heybereket Jun 19, 2021
976f216
chore(global): fix lint errors and fix marginTop issue
heybereket Jun 19, 2021
57050a7
fix(ui/web): Fixed profile tabs showing authed users info
HenryLeC Jun 19, 2021
5de1caa
feat(ui): add language selector component
heybereket Jun 19, 2021
cda8dd4
chore(deps): upgrade
heybereket Jun 19, 2021
8d232a3
fix(web): Fix old state being rendered on profile
HenryLeC Jun 19, 2021
ca3db37
feat(qa): Question Answer (#422)
HenryLeC Jun 19, 2021
38fccdb
fix(global): Renamed like to upvote
HenryLeC Jun 19, 2021
db648fb
fix: broken links (#423)
joseywoermann Jun 19, 2021
fb8d48f
feat(api): Added option sort column and type filter to paginations qu…
HenryLeC Jun 19, 2021
fe87114
refactor(web): change API_MODE to STAGING_API and make it optional
heybereket Jun 20, 2021
db89edb
feat(web): setup storybook
heybereket Jun 21, 2021
b7c675e
feat(web/ui): Added a new Language and Translation provider
HenryLeC Jun 21, 2021
af3e0aa
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
HenryLeC Jun 21, 2021
1291c9c
docs(ui): Added translations docs
HenryLeC Jun 21, 2021
d5e564a
feat(web/parser): move parser to server side and fix lint errors
heybereket Jun 21, 2021
00fc2d3
fix(parser): add main field to package.json
heybereket Jun 21, 2021
a71122c
chore(dockerfile): add parser
heybereket Jun 21, 2021
1456ab9
fix(parser): request.js this issue
heybereket Jun 21, 2021
a092a5a
chore(workflows): update paths to deploy
heybereket Jun 21, 2021
3908284
chore(parser): add version
heybereket Jun 21, 2021
70eaf9d
fix(global): build errors
heybereket Jun 21, 2021
c6e6115
chore(deps-dev): bump @graphql-codegen/typescript-react-apollo (#428)
dependabot[bot] Jun 21, 2021
8cc57ea
chore(deps): bump @sentry/react from 6.7.1 to 6.7.2 (#427)
dependabot[bot] Jun 21, 2021
55c618a
chore(deps): bump @sentry/tracing from 6.7.1 to 6.7.2 (#426)
dependabot[bot] Jun 21, 2021
8e8b12c
chore(deps): bump graphql from 15.5.0 to 15.5.1 (#425)
dependabot[bot] Jun 21, 2021
7e1024a
chore(deps-dev): bump aws-sdk from 2.931.0 to 2.932.0 (#429)
dependabot[bot] Jun 21, 2021
3932c37
chore(deps-dev): bump @graphql-codegen/typescript-document-nodes (#424)
dependabot[bot] Jun 21, 2021
e254186
feat(ui): Added locale guessing
HenryLeC Jun 21, 2021
8e7b6ae
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
HenryLeC Jun 21, 2021
00e7423
chore(deps): Updated yarn.lock file
HenryLeC Jun 21, 2021
48a8b9d
fix(parser): Added parser to twcss
HenryLeC Jun 21, 2021
5368462
docker: Changed shell form to exec form
HenryLeC Jun 21, 2021
05aab41
chore(deps-dev): bump electron from 13.1.2 to 13.1.3 (#433)
dependabot[bot] Jun 21, 2021
7a9c1be
chore(deps-dev): bump @graphql-codegen/typescript-operations (#432)
dependabot[bot] Jun 21, 2021
d980650
chore(deps-dev): bump vite from 2.3.7 to 2.3.8 (#431)
dependabot[bot] Jun 21, 2021
1646851
chore(deps-dev): bump @graphql-codegen/typescript from 1.22.1 to 1.22…
dependabot[bot] Jun 21, 2021
800866a
chore(web): only enable tailwind purge in prod
heybereket Jun 21, 2021
9cb7034
fix(web): Fixed Undefined's Comments on post page
HenryLeC Jun 21, 2021
f4354c6
chore(deps): Updated yarn.lock
HenryLeC Jun 22, 2021
42eec0d
chore(deps): bump @ionic/react-router from 5.6.9 to 5.6.10 (#438)
dependabot[bot] Jun 22, 2021
286e4f4
chore(deps-dev): bump @types/tailwindcss from 2.0.6 to 2.2.0 (#437)
dependabot[bot] Jun 22, 2021
df12df2
chore(deps): bump zustand from 3.5.2 to 3.5.4 (#436)
dependabot[bot] Jun 22, 2021
b29164f
chore(deps-dev): bump @babel/eslint-parser from 7.14.5 to 7.14.7 (#435)
dependabot[bot] Jun 22, 2021
f0296a1
chore(deps): bump @ionic/react from 5.6.9 to 5.6.10 (#434)
dependabot[bot] Jun 22, 2021
de328ee
refactor(web): lib files
heybereket Jun 22, 2021
7c03a32
fix(web): apollo import
heybereket Jun 23, 2021
a17cf2d
chore(readme): add parser
heybereket Jun 23, 2021
d42e92d
chore(readme): change client to sdk
heybereket Jun 23, 2021
571c5a5
chore(docs): update lint scripts
heybereket Jun 23, 2021
20e480f
feat(cli): implemented base for cli
saihnii4 Jun 23, 2021
3d7e01e
feat(web): Added ability to comment
HenryLeC Jun 23, 2021
c120f41
Merge branch 'staging' of github.com:oasis-sh/oasis into staging
HenryLeC Jun 23, 2021
d6160f8
fix(web): Stopped comment input from showing when logged out
HenryLeC Jun 23, 2021
69c4d45
refactor(parser): Minor refactors
Angshu31 Jun 23, 2021
a11b81a
fix: updated arrow icons to ionicons icons (#445)
Simplyalex99 Jun 23, 2021
3782dcf
chore(global): fix lint errors and lint
heybereket Jun 23, 2021
53576a6
fix(shared): Removed moment.js and used dayjs instead
HenryLeC Jun 23, 2021
0edce23
feat(shared): add exit and log
heybereket Jun 24, 2021
02d4861
fix(shared): merge conflicts
heybereket Jun 24, 2021
e8781dd
chore(shared): switch === with !==
heybereket Jun 24, 2021
672258c
fix(yarn): merge conflicts
heybereket Jun 24, 2021
7588846
chore(shared): run yarn clean on build command
heybereket Jun 24, 2021
1205b7c
fix(api/web): import log error
heybereket Jun 24, 2021
45ba3f8
fix(docker/scripts): Build shared first as it is imported by api
HenryLeC Jun 24, 2021
d3e4c22
feat(cli): commands (#446)
HenryLeC Jun 24, 2021
bb61022
fix(api): Fixed exposing stacktrace in return
HenryLeC Jun 24, 2021
d5917a8
refactor(cli): use const instead of function
heybereket Jun 24, 2021
fd94517
chore(cli): rename files
heybereket Jun 24, 2021
22cbcdf
feat: updated icons to ionicons (#447)
Simplyalex99 Jun 24, 2021
4161158
feat(setup): setup.js package/script (not complete)
f1shy-dev Jun 25, 2021
0fced97
fix(global): fix cz command
f1shy-dev Jun 25, 2021
ac62a8b
refactor(api): Refactored upvote downvote to use generic function
HenryLeC Jun 25, 2021
eaf64c9
refactor(api): Moved upvotes and downvotes to column
HenryLeC Jun 26, 2021
fc9142f
fix(api): Fixed feed sort to take into acount downvotes
HenryLeC Jun 26, 2021
c9dd700
fix(api): Made upvotes and downvotes non nullable
HenryLeC Jun 26, 2021
c987ddd
fix(api): Fixed spelling
HenryLeC Jun 26, 2021
b5edca0
fix(api): Update schema
HenryLeC Jun 26, 2021
226a601
fix(api): Made upvote downvote column non nullable
HenryLeC Jun 26, 2021
6a395c3
chore(api): Removed test file
HenryLeC Jun 26, 2021
2c54fa4
feat(sdk): Query builder, Arguments, a lot of TS intellisense
Angshu31 Jun 26, 2021
c19e250
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
Angshu31 Jun 26, 2021
565ba8c
chore(api): Updated schema
HenryLeC Jun 26, 2021
e93dabc
fix(api): fixed notification spam prevention to only act on follows
BronzW Jun 26, 2021
287f99e
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
BronzW Jun 26, 2021
89ec7c4
fix(scripts): change test to test:api
heybereket Jun 26, 2021
761ea25
chore(docs): fix spelling, scripts, and delete FAQ
heybereket Jun 26, 2021
fd63b98
chore(codeowners): update
heybereket Jun 26, 2021
c6230b8
chore(sdk): use gqlURL from @oasis-sh/shared
heybereket Jun 26, 2021
e1241ea
Merge branch 'staging' of github.com:oasis-sh/oasis into staging
heybereket Jun 26, 2021
579ffdb
feat(api): VSCode auth
Angshu31 Jun 26, 2021
fe416b0
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
Angshu31 Jun 26, 2021
2b1b873
chore(global): lint
heybereket Jun 26, 2021
ccfaac0
test(cli): write tests for post fetching
saihnii4 Jun 26, 2021
f1a6200
Merge branch 'staging' of github.com:dulguuncodes/oasis into staging
saihnii4 Jun 26, 2021
a969c02
chore(global): ignore vim sessions
saihnii4 Jun 26, 2021
cddd482
chore(cli): remove vim session
saihnii4 Jun 26, 2021
51a08c7
test(cli): wrote half baked test for fetching user by name
saihnii4 Jun 26, 2021
e0432b1
chore(.vscode): delete
heybereket Jun 26, 2021
3263e45
fix(sdk): Make it work
Angshu31 Jun 26, 2021
1c19d4e
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
Angshu31 Jun 26, 2021
f3c6cb3
fix(sdk): Support root-level paginated queries
Angshu31 Jun 26, 2021
422ac99
feat(cli): Use SDK
Angshu31 Jun 26, 2021
d5f33e0
chore(deps): Upgraded deps
HenryLeC Jun 26, 2021
c401fda
chore(api): removed unused imports
heybereket Jun 26, 2021
2f6fa14
Merge branch 'staging' of github.com:oasis-sh/oasis into staging
heybereket Jun 26, 2021
91c151b
chore(sdk): Switch to cross-fetch
Angshu31 Jun 26, 2021
eed6394
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
Angshu31 Jun 26, 2021
81cfa05
feat(api): add urls to config and add isNull util
heybereket Jun 26, 2021
2f5bb0e
Merge branch 'staging' of github.com:oasis-sh/oasis into staging
heybereket Jun 26, 2021
a11bc0b
fix(sdk): Remove node-fetch
Angshu31 Jun 27, 2021
ea5f40c
Merge branch 'staging' of https://github.com/oasis-sh/oasis into staging
Angshu31 Jun 27, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 0 additions & 40 deletions .all-contributorsrc

This file was deleted.

22 changes: 22 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# yarn v2
.yarn/*
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions

node_modules/
postgres_data/
.next
packages/api/db.sqlite
packages/api/src/ormconfig.ts
packages/web/db.sqlite
packages/web/server/index.js
# macOS
.DS_Store

# sql/redis db
*.sqlite
*.rdb

**/.env
3 changes: 2 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
insert_final_newline = true
quote_type = single
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

275 changes: 275 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,275 @@
{
"env": {
"es6": true,
"browser": true,
"jest": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react", "react-hooks", "@typescript-eslint/eslint-plugin"],
"settings": {
"react": {
"version": "detect"
}
},
"ignorePatterns": [".next", "dist", "out", "generated"],
"rules": {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/ban-types": "off",
"no-empty": "off",
"no-empty-pattern": "off",
"react/prop-types": "off",
"accessor-pairs": "error",
"array-bracket-newline": "off",
"array-bracket-spacing": "error",
"array-callback-return": "off",
"arrow-body-style": "off",
"arrow-parens": "off",
"arrow-spacing": "error",
"block-scoped-var": "error",
"block-spacing": "error",
"brace-style": "error",
"camelcase": "off",
"comma-dangle": "off",
"comma-spacing": "error",
"comma-style": "error",
"complexity": "off",
"computed-property-spacing": "error",
"consistent-this": "error",
"default-case-last": "error",
"default-param-last": "error",
"dot-location": ["error", "property"],
"dot-notation": "error",
"eol-last": "error",
"eqeqeq": "error",
"func-call-spacing": "off",
"func-name-matching": "error",
"func-style": [
"error",
"declaration",
{
"allowArrowFunctions": true
}
],
"function-call-argument-newline": ["error", "consistent"],
"function-paren-newline": "off",
"generator-star-spacing": "error",
"grouped-accessor-pairs": "error",
"handle-callback-err": "error",
"id-blacklist": "error",
"id-denylist": "error",
"id-match": "error",
"indent": [
"off",
2,
{
"offsetTernaryExpressions": true
}
],
"jsx-quotes": "error",
"key-spacing": ["error"],
"keyword-spacing": "off",
"line-comment-position": "off",
"linebreak-style": "off",
"lines-around-comment": "off",
"lines-around-directive": "error",
"lines-between-class-members": "off",
"max-depth": "error",
"max-len": "off",
"max-lines": "off",
"max-lines-per-function": "off",
"max-nested-callbacks": "error",
"max-statements": "off",
"max-statements-per-line": "off",
"multiline-comment-style": "off",
"multiline-ternary": "off",
"new-parens": "error",
"newline-after-var": "off",
"newline-before-return": "off",
"newline-per-chained-call": "off",
"no-alert": "error",
"no-array-constructor": "error",
"no-await-in-loop": "off",
"no-bitwise": "off",
"no-buffer-constructor": "error",
"no-caller": "error",
"no-catch-shadow": "error",
"no-console": "off",
"no-constructor-return": "error",
"no-continue": "error",
"no-div-regex": "error",
"no-duplicate-imports": "error",
"@typescript-eslint/no-empty-function": "off",
"no-eq-null": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-extra-label": "error",
"no-extra-parens": "off",
"no-floating-decimal": "error",
"no-implicit-coercion": "off",
"no-implicit-globals": "error",
"no-implied-eval": "error",
"no-fallthrough": "off",
"no-inline-comments": "off",
"no-invalid-this": "error",
"no-iterator": "error",
"no-label-var": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-lonely-if": "error",
"no-loop-func": "error",
"no-loss-of-precision": "error",
"@typescript-eslint/no-magic-numbers": "off",
"no-mixed-operators": "off",
"no-mixed-requires": "error",
"no-multi-assign": "error",
"no-multi-spaces": "error",
"no-multi-str": "error",
"no-multiple-empty-lines": "error",
"no-native-reassign": "error",
"no-negated-condition": "off",
"no-negated-in-lhs": "error",
"no-nested-ternary": "off",
"no-new": "error",
"no-new-func": "error",
"no-new-object": "error",
"no-new-require": "error",
"no-new-wrappers": "error",
"no-nonoctal-decimal-escape": "error",
"no-octal-escape": "error",
"no-param-reassign": "error",
"no-path-concat": "error",
"no-plusplus": "off",
"no-process-env": "off",
"no-promise-executor-return": "error",
"no-proto": "error",
"no-restricted-exports": "error",
"no-restricted-globals": "error",
"no-restricted-imports": "error",
"no-restricted-modules": "error",
"no-restricted-properties": "error",
"no-restricted-syntax": "error",
"no-script-url": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-spaced-func": "off",
"no-sync": "off",
"no-template-curly-in-string": "error",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-undef-init": "off",
"no-undefined": "off",
"no-underscore-dangle": "off",
"no-unmodified-loop-condition": "error",
"no-unneeded-ternary": "error",
"no-unreachable-loop": "error",
"no-unsafe-optional-chaining": "error",
"no-unused-expressions": "error",
"@typescript-eslint/no-use-before-define": "error",
"no-useless-backreference": "error",
"no-useless-call": "error",
"no-useless-computed-key": "off",
"no-useless-concat": "error",
"no-useless-constructor": "off",
"no-useless-rename": "error",
"no-useless-return": "error",
"no-var": "error",
"no-void": "error",
"no-warning-comments": "error",
"no-whitespace-before-property": "error",
"nonblock-statement-body-position": "off",
"object-curly-newline": "error",
"object-curly-spacing": ["error", "always"],
"object-property-newline": [
"error",
{
"allowAllPropertiesOnSameLine": true
}
],
"object-shorthand": "error",
"one-var": ["error", "never"],
"operator-assignment": "error",
"operator-linebreak": "error",
"padded-blocks": ["error", "never"],
"padding-line-between-statements": "off",
"prefer-const": "error",
"prefer-destructuring": "off",
"prefer-exponentiation-operator": "error",
"prefer-named-capture-group": "off",
"prefer-numeric-literals": "error",
"prefer-object-spread": "error",
"prefer-promise-reject-errors": "error",
"prefer-reflect": "error",
"prefer-regex-literals": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"prefer-template": "off",
"quote-props": "off",
"quotes": "off",
"radix": "off",
"require-atomic-updates": "error",
"require-unicode-regexp": "off",
"rest-spread-spacing": "error",
"@typescript-eslint/semi": [
"error",
"always",
{
"omitLastInOneLineBlock": true
}
],
"semi-spacing": "error",
"semi-style": "error",
"no-extra-semi": "error",
"space-before-blocks": "error",
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],
"space-in-parens": ["error", "never"],
"space-infix-ops": "error",
"space-unary-ops": [
"error",
{
"words": true,
"nonwords": false
}
],
"spaced-comment": "error",
"strict": "error",
"switch-colon-spacing": "error",
"symbol-description": "error",
"template-curly-spacing": "error",
"template-tag-spacing": "error",
"unicode-bom": "error",
"valid-jsdoc": "error",
"vars-on-top": "error",
"wrap-iife": "error",
"wrap-regex": "off",
"yield-star-spacing": "error",
"yoda": "error",
"react/react-in-jsx-scope": "off"
}
}
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* @heybereket @HenryLeC
/packages/api/ @heybereket @HenryLeC @Angshu31 @BronzW
/packages/desktop/ @heybereket
/packages/cli/ @dulguuncodes
/packages/sdk/ @Angshu31
/assets/ @SamJakob
Loading