Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
59fab83
setup tests
justinnguyen0 Nov 11, 2023
96455bc
Merge pull request #1 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 11, 2023
262cb0b
setup tests
justinnguyen0 Nov 11, 2023
c6b3b9f
Merge pull request #2 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 11, 2023
5c46a91
add first test
justinnguyen0 Nov 11, 2023
3ad97dc
Merge pull request #3 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 11, 2023
c1b434e
add more tests
justinnguyen0 Nov 12, 2023
f3ff5db
Merge pull request #4 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 12, 2023
702926d
add more tests
justinnguyen0 Nov 12, 2023
a2f64f4
Merge pull request #5 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 12, 2023
bab8692
CI-CD Workflow
kashishvjain Nov 12, 2023
2f64f75
Update test.yml
kashishvjain Nov 12, 2023
4ec4c04
Merge pull request #10 from CSE-210-Team-6/kashishvjain-patch-1
kashishvjain Nov 12, 2023
99b77d0
add more tests
justinnguyen0 Nov 12, 2023
1009b78
Merge pull request #12 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 12, 2023
534f92f
refactor for jest to pass
justinnguyen0 Nov 12, 2023
0e777db
Merge pull request #13 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 12, 2023
1453359
add more tests for storage.js
justinnguyen0 Nov 12, 2023
e8658aa
Merge pull request #14 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 12, 2023
df85684
add more tests for storage.js
justinnguyen0 Nov 12, 2023
51f643d
Merge pull request #15 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 13, 2023
3741ace
test: add tests for notes.js
Melody-Creator Nov 13, 2023
c741d6a
Merge pull request #16 from CSE-210-Team-6/test
Melody-Creator Nov 16, 2023
66fa56d
Kashish reformat (#17)
kashishvjain Nov 17, 2023
2847b55
add more tests
justinnguyen0 Nov 18, 2023
cca7681
Merge pull request #18 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 18, 2023
f83d0f5
Add files via upload
sora1998 Nov 18, 2023
b8895dd
Add files via upload
sora1998 Nov 18, 2023
4bd52aa
refactor: added JS Docs
Melody-Creator Nov 18, 2023
5d8dfd6
Merge pull request #19 from CSE-210-Team-6/enze
sora1998 Nov 18, 2023
90f442e
Merge pull request #20 from CSE-210-Team-6/ever-reformat
Melody-Creator Nov 18, 2023
6b756b8
add jsdocs
ekdnam Nov 18, 2023
3bae377
add basicauth object
ekdnam Nov 18, 2023
5f92df8
refactor account.js
ekdnam Nov 18, 2023
206e1dc
add jsdocs to webfiger.js
ekdnam Nov 18, 2023
0ba959e
camel case
ekdnam Nov 18, 2023
bc78dfe
aditya-refactor
ekdnam Nov 18, 2023
7469933
add comments and refactor
Tigojiang Nov 23, 2023
e766ff5
add more tests for account
justinnguyen0 Nov 26, 2023
edc1c53
Merge pull request #23 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 26, 2023
58577cc
Code standardization (#24)
smruthig Nov 26, 2023
b921244
add more tests for account
justinnguyen0 Nov 28, 2023
93f148f
Merge pull request #25 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 28, 2023
6e87527
Delete public/.DS_Store
ekdnam Nov 28, 2023
aaf44ee
Merge pull request #26 from CSE-210-Team-6/ekdnam-patch-1
ekdnam Nov 28, 2023
538dc3b
fix pref display bug and add default image
Tigojiang Nov 30, 2023
96fe504
add more test for account
justinnguyen0 Nov 30, 2023
e82d78d
Merge pull request #29 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 30, 2023
a0287c2
update profile username
Tigojiang Nov 30, 2023
f26414c
Merge branch 'main' of https://github.com/CSE-210-Team-6/shuttlecraft
Tigojiang Nov 30, 2023
bfe522d
update (#28)
sora1998 Nov 30, 2023
d76dbc9
Merge pull request #30 from CSE-210-Team-6/main
sora1998 Nov 30, 2023
5af5216
add more tests for account
justinnguyen0 Nov 30, 2023
6907c12
Merge pull request #31 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 30, 2023
6a6704d
add more tests
justinnguyen0 Nov 30, 2023
1a30831
Merge pull request #32 from CSE-210-Team-6/justin-tests
justinnguyen0 Nov 30, 2023
54be768
feat:supported adding bio
Melody-Creator Nov 30, 2023
69923f1
Merge pull request #33 from CSE-210-Team-6/ever-bio
Melody-Creator Nov 30, 2023
3c5eeb0
avatar change
sora1998 Nov 30, 2023
9056675
Merge pull request #34 from CSE-210-Team-6/enze
sora1998 Nov 30, 2023
8b81074
Added test Coverage Checks (#35)
kashishvjain Dec 1, 2023
6ced237
fix update user name display issue
Tigojiang Dec 1, 2023
6ff7ddf
avatar change
sora1998 Dec 4, 2023
9d6e2f5
format fix
sora1998 Dec 4, 2023
c71cb3f
small fix
sora1998 Dec 4, 2023
c3eb2e6
Merge pull request #40 from CSE-210-Team-6/enze
sora1998 Dec 4, 2023
01a7081
update ui
Tigojiang Dec 6, 2023
344b47d
Merge branch 'main' of https://github.com/CSE-210-Team-6/shuttlecraft
Tigojiang Dec 6, 2023
434254c
refactor and add more tests
justinnguyen0 Dec 7, 2023
ffecb94
Merge pull request #42 from CSE-210-Team-6/justin-tests
justinnguyen0 Dec 7, 2023
9825c2f
Changed the USERNAME variable to USER_NAME (#44)
kashishvjain Dec 7, 2023
b9a8b34
refactor tests
justinnguyen0 Dec 8, 2023
2a3a8ce
Merge pull request #45 from CSE-210-Team-6/justin-tests
justinnguyen0 Dec 8, 2023
b58338f
add more tests for account.js
justinnguyen0 Dec 8, 2023
94c2bec
Merge pull request #46 from CSE-210-Team-6/justin-tests
justinnguyen0 Dec 8, 2023
9ae95f0
revert handlebar
sora1998 Dec 10, 2023
ef126a5
Merge pull request #1 from sora1998/enze
sora1998 Dec 10, 2023
a639d0d
handlebar rever and some small ui adjust
sora1998 Dec 10, 2023
c312fcb
handlebar rever and some small ui adjust
sora1998 Dec 10, 2023
b9ac8c7
Merge pull request #49 from sora1998/main
sora1998 Dec 10, 2023
6ed27c4
add more tests for account (#48)
justinnguyen0 Dec 10, 2023
9669729
1. match the feeds.handlebars file with its benbrown equivalent. 2. a…
ekdnam Dec 10, 2023
078fd09
Merge pull request #50 from CSE-210-Team-6/enze
ekdnam Dec 10, 2023
4b4fb0e
add more tests for account.js
justinnguyen0 Dec 11, 2023
5fdbc38
Merge pull request #55 from CSE-210-Team-6/justin-tests
justinnguyen0 Dec 11, 2023
846ab9b
add more tests for account.js and ActivityPub.js
justinnguyen0 Dec 11, 2023
9345a8a
Merge pull request #60 from CSE-210-Team-6/justin-tests
justinnguyen0 Dec 12, 2023
edf5b57
Create User Create and Login Functionality (#63)
kashishvjain Dec 12, 2023
8e420a8
fix ci error
justinnguyen0 Dec 12, 2023
980259e
Merge pull request #66 from CSE-210-Team-6/fix-ci
justinnguyen0 Dec 12, 2023
7809e36
add more tests for ActivityPub.js
justinnguyen0 Dec 12, 2023
f22a952
Merge pull request #65 from CSE-210-Team-6/justin-tests
justinnguyen0 Dec 12, 2023
5dbe650
Update secret.css
Tigojiang Dec 11, 2023
e1d3a3e
mock my post
Tigojiang Dec 11, 2023
f0da2ad
notification style
Tigojiang Dec 11, 2023
5d45b53
Update notifications.handlebars
Tigojiang Dec 11, 2023
31ac046
Update notifications.handlebars
Tigojiang Dec 11, 2023
87ab1e3
make the ui more twitter like
ekdnam Dec 11, 2023
f9930c8
remove mock data
ekdnam Dec 11, 2023
a5bf367
change background color and text color for dm received
ekdnam Dec 11, 2023
a3ce40f
the earlier commit changed design for the parent container, now testi…
ekdnam Dec 11, 2023
ec887b4
delete content warning and reply to fields from composer
ekdnam Dec 11, 2023
58f1f35
break into files
ekdnam Dec 11, 2023
86f4b18
center the content container so that the website looks better on devi…
ekdnam Dec 12, 2023
d700129
remove border of composer
ekdnam Dec 12, 2023
534d01e
fix the composer form style
Tigojiang Dec 12, 2023
5c3c0b5
update composer
Tigojiang Dec 12, 2023
b8d7d0d
remove ct warning
Tigojiang Dec 12, 2023
71ed492
Make the navbar stick to the bottom part of the screen and not get ov…
ekdnam Dec 12, 2023
85ee96d
rebase with glitch instance #1
ekdnam Dec 12, 2023
99bd89d
format file - make the indentation correct
ekdnam Dec 12, 2023
ce488bc
Change UI (major changes) Merge pull request #59 from CSE-210-Team-6/…
ekdnam Dec 12, 2023
fce718a
feat: supported turning on/off post features
Melody-Creator Dec 12, 2023
305ac41
feat: supported turning on/off post features
Melody-Creator Dec 12, 2023
9fde75a
fix: updated note.handlebars
Melody-Creator Dec 12, 2023
c7ce8bf
remove docker files
Tigojiang Dec 12, 2023
6d3636a
remove unnecessary files
Tigojiang Dec 12, 2023
448a2f5
remove unecessaryo logs
Tigojiang Dec 12, 2023
0faa71a
Merge branch 'main' into ever-feat-new
Melody-Creator Dec 12, 2023
76550b4
Merge pull request #69 from CSE-210-Team-6/ever-feat-new
Melody-Creator Dec 12, 2023
cd6e40d
add more tests for ActivityPub.js (#67)
justinnguyen0 Dec 12, 2023
c23240a
Update README.md with CSE 210 Info (#71)
kashishvjain Dec 13, 2023
6e3a817
Documentation (#72)
smruthig Dec 13, 2023
1fa03ba
Added Logout Functionality to /account (#64)
kashishvjain Dec 13, 2023
fe36e10
Added pitch document (#73)
smruthig Dec 13, 2023
2915ee7
Revert "feat: supported turning on/off post features"
justinnguyen0 Dec 13, 2023
f66411a
Revert "feat: supported turning on/off post features"
justinnguyen0 Dec 13, 2023
252f198
Revert "feat: supported turning on/off post features"
justinnguyen0 Dec 13, 2023
1316636
Revert "fix: updated note.handlebars"
justinnguyen0 Dec 13, 2023
c9cd856
Merge pull request #77 from CSE-210-Team-6/revert
justinnguyen0 Dec 13, 2023
86e050d
Fix README
justinnguyen0 Dec 13, 2023
75c35e7
Merge pull request #78 from CSE-210-Team-6/justinnguyen0-patch-1
justinnguyen0 Dec 13, 2023
81af59f
clean up tests
justinnguyen0 Dec 13, 2023
636106a
Added 12th Dec notes (#76)
smruthig Dec 13, 2023
3eb07b9
68 enhancement UI improvement for login create user page (#74)
kashishvjain Dec 13, 2023
06b1a48
Merge pull request #79 from CSE-210-Team-6/justin-tests
justinnguyen0 Dec 13, 2023
21dab44
Merge pull request #70 from CSE-210-Team-6/clean-repo
justinnguyen0 Dec 13, 2023
4370ac4
Removing some TODOs and changes to the readme (#82)
kashishvjain Dec 13, 2023
cfe62c4
supported turning on/off post features (#81)
Melody-Creator Dec 13, 2023
8108563
doc: fixed Glitch link typo in README.md
Melody-Creator Dec 13, 2023
380d08b
doc: fixed Glitch link typo in README.md
Melody-Creator Dec 13, 2023
2da99e4
add wireframes
ekdnam Dec 15, 2023
f213627
API docs generated
ekdnam Dec 15, 2023
3cbf9ff
modified linter, ignore prettify in documentation folder
ekdnam Dec 15, 2023
368b9b3
Merge pull request #86 from CSE-210-Team-6/changelog-ekdnam
ekdnam Dec 15, 2023
fcc96f5
rename folders
ekdnam Dec 15, 2023
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
12 changes: 0 additions & 12 deletions .dockerignore

This file was deleted.

4 changes: 0 additions & 4 deletions .env.example

This file was deleted.

3 changes: 2 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ module.exports = {
sourceType: 'module'
},
rules: {
}
},
ignorePatterns: ["**/*.jest.js", "**/prettify"],
}
31 changes: 31 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Running Code Coverage

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 16.x]

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 2

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install

- name: Run tests
run: npm run test

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Configure Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Retrieve npm cache
uses: 'actions/cache@v3'
Expand All @@ -37,7 +37,7 @@ jobs:
${{ runner.os }}-node-

- name: Install Node packages
run: npm ci
run: npm install && npm ci
- name: Get changed files
id: changes
run: |
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Unit Tests

on: [push, pull_request]

jobs:
tests:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 16.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install

- name: Run tests
run: npm test
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -321,5 +321,4 @@ $RECYCLE.BIN/
# and uncomment the following lines
# .pnp.*

# End of https://www.toptal.com/developers/gitignore/api/macos,linux,windows,webstorm,yarn,diff,snyk,node,tower

# End of https://www.toptal.com/developers/gitignore/api/macos,linux,windows,webstorm,yarn,diff,snyk,node,tower
1 change: 1 addition & 0 deletions .jest/setEnvVars.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
process.env.DOMAIN = 'testDomain';
130 changes: 70 additions & 60 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,60 +1,70 @@
# How to update

For now, the best way to upgrade is to pull the latest code from the main branch.
(One day I'll set up proper packaging with versions and stuff. That day is not today!)

* Type `git pull origin main`
* Make sure to restart the app afterwards

# CHANGE LOG

## 2023-01-30
- Fixed the missing edit button
- Fixed a bug where people without a `name` field would show up blank in some places
- Fixed a bug related to missing environment variables

## 2023-01-29
- Introduced a background queue system for handling outbound HTTP requests.
- Fixed follows - outbound follow requests got disabled on 01/23! Oops!
- Fixed communication with Pixelfed and GoToSocial instances. Follows and stuff should now work!

## 2023-01-23
- Added linting and code prettification as a pre-commit hook
- Added Github actions to run linter rules and enforce them on PRs
Huge thanks to @selfagency for these improvements!

## 2023-01-15
- Added a prefs page
- Added the ability to change all the emojis in the UI 👹
- Added the ability to change what it says on the "post" button
See a video of these features in action here: https://www.loom.com/share/c8fbe3b099f644d596cd2db26e86bc8a


## 2023-01-14
- All new nav! There is now a list of the 20 most recently updated feeds in the nav. Click "..." to see up to 100.
- Lots of CSS improvements!
- When you search for a user, Shuttlecraft will now also search all known users


## 2023-01-12
- Prevent buttons from being double-clicked resulting in accidentally undoing something or double posting
- Prevent the account.json file from being created with a faulty domain name. Thanks @patrickmcurry!


## 2023-01-09
- Fixed a bug causing new posts not to show up til the server restarts. Oops!

## 2023-01-08
- Added support for incoming DELETE activities. This causes matching posts to be completely removed from the system. As part of this, increased resilience for dealing with missing or unreachable posts. Thanks to @ringtailsoftware.
- Added support for editing local posts. Thanks to @ringtailsoftware.
- Renamed the sample .env to .env.example and introduced a post-install script to copy it into place
- Created this changelog!

## 2023-01-07
- Links in posts now automatically include noopen noreferer nofollow attributes.

## 2023-01-06
- Support for light/dark themes. Thanks @anildash
- Fix pagination bugs, add pagination on notifications


# How to update

For now, the best way to upgrade is to pull the latest code from the main branch.
(One day I'll set up proper packaging with versions and stuff. That day is not today!)

- Type `git pull origin main`
- Make sure to restart the app afterwards

# CHANGE LOG

## 2023-01-30

- Fixed the missing edit button
- Fixed a bug where people without a `name` field would show up blank in some places
- Fixed a bug related to missing environment variables

## 2023-01-29

- Introduced a background queue system for handling outbound HTTP requests.
- Fixed follows - outbound follow requests got disabled on 01/23! Oops!
- Fixed communication with Pixelfed and GoToSocial instances. Follows and stuff should now work!

## 2023-01-23

- Added linting and code prettification as a pre-commit hook
- Added Github actions to run linter rules and enforce them on PRs
Huge thanks to @selfagency for these improvements!

## 2023-01-15

- Added a prefs page
- Added the ability to change all the emojis in the UI 👹
- Added the ability to change what it says on the "post" button
See a video of these features in action here: https://www.loom.com/share/c8fbe3b099f644d596cd2db26e86bc8a

## 2023-01-14

- All new nav! There is now a list of the 20 most recently updated feeds in the nav. Click "..." to see up to 100.
- Lots of CSS improvements!
- When you search for a user, Shuttlecraft will now also search all known users

## 2023-01-12

- Prevent buttons from being double-clicked resulting in accidentally undoing something or double posting
- Prevent the account.json file from being created with a faulty domain name. Thanks @patrickmcurry!

## 2023-01-09

- Fixed a bug causing new posts not to show up til the server restarts. Oops!

## 2023-01-08

- Added support for incoming DELETE activities. This causes matching posts to be completely removed from the system. As part of this, increased resilience for dealing with missing or unreachable posts. Thanks to @ringtailsoftware.
- Added support for editing local posts. Thanks to @ringtailsoftware.
- Renamed the sample .env to .env.example and introduced a post-install script to copy it into place
- Created this changelog!

## 2023-01-07

- Links in posts now automatically include noopen noreferer nofollow attributes.

## 2023-01-06

- Support for light/dark themes. Thanks @anildash
- Fix pagination bugs, add pagination on notifications

## 2023-12-08 - USERNAME Crossplatform Compatibility

- Fixed bug of USERNAME variable not working on windows machines.
- Instead of using USERNAME we now use USER_NAME
3 changes: 0 additions & 3 deletions Caddyfile

This file was deleted.

27 changes: 0 additions & 27 deletions Dockerfile

This file was deleted.

Loading