Commit graph

132 commits

Author SHA1 Message Date
ef925152d9
Merge branch 'main' of ssh://github.com/RIT-SWEN-261-02/team-project-2231-swen-261-02-04-guessncheck 2024-01-14 12:54:30 -05:00
Mohammed Fareed
5eed6fa3f9
Architecture and design (#39)
* Updates docs

* Fixed diagram

* Update sequence diagram

* Add second sequence diagram

* Minor fixes

* view tier summary and diagram description

* Finalize document, missing second sequence diagram

* Finalize docs

---------

Co-authored-by: Neav Ziv <nz8429@rit.edu>
Co-authored-by: Blizzard Finnegan <blizzardfinnegan@gmail.com>
Co-authored-by: Ryan Leifer <rjl8327@g.rit.edu>
2023-12-04 20:18:28 -05:00
0c3e8d4e43
Merge branch 'main' of ssh://github.com/RIT-SWEN-261-02/team-project-2231-swen-261-02-04-guessncheck 2023-12-04 14:30:00 -05:00
Ryan Leifer
215b7c0f5b fixing thing 2023-12-04 14:26:25 -05:00
Ryan Leifer
3264c84a32 Merge branch 'main' of https://github.com/RIT-SWEN-261-02/team-project-2231-swen-261-02-04-guessncheck 2023-12-04 13:59:34 -05:00
Ryan Leifer
79b9169d57 added my parts to this i belive it is done 2023-12-04 13:59:13 -05:00
Mohammed Fareed
298d828e32
Update docs pdf amd html 2023-12-04 02:36:08 -05:00
Mohammed Fareed
c554eed3df
Update docs 2023-12-04 01:46:59 -05:00
Mohammed Fareed
b88fece59b
Code analysis (#38)
Docs, no review needed
2023-12-04 01:04:10 -05:00
Ryan Leifer
6efab1fe9e Merge branch 'main' of https://github.com/RIT-SWEN-261-02/team-project-2231-swen-261-02-04-guessncheck 2023-11-20 17:36:57 -05:00
Ryan Leifer
1a4da56070 removed useless file, fixed a typo 2023-11-20 17:36:44 -05:00
Mohammed Fareed
422a609c15
Update docs and remove unused files 2023-11-20 14:11:45 -05:00
Mohammed Fareed
935dcb3c22
Update acceptance test plan 2023-11-20 12:45:43 -05:00
Kenny-Casey
67aaec49a9
Merge pull request #33 from RIT-SWEN-261-02/fix-need-creation-bug
Add field validation to add-edit need component
2023-11-20 12:42:28 -05:00
Kenny-Casey
428596674e
Merge pull request #32 from RIT-SWEN-261-02/unit-tests
Fix and add unit tests
2023-11-20 12:34:32 -05:00
Mohammed Fareed
651cadd1f6
Revert "Deals backend (#34)" (#35)
This reverts commit eca2262e13.
2023-11-20 09:19:50 -07:00
RyanLeifer04
eca2262e13
Deals backend (#34)
* Started making deal object

* beginning to edit fundingbasket to include deals

* snd commit of same, not sure why

* created DealDAO and DealFileDAO

* created DealDAO and DealFileDAO, edited other DAO

* beginning changes to controller level

* backend things

* basic functions in dealDAO completed

* all basic function in backend done
functions for controller level done for "createNeed" card

* added commenting

* backend done i think?

* added removeDeal to FundingBasketController

* added and fixed comments

* bug fixing

* minor bugs fixed, backend now compiles

* Added DealTest
removed empty extra FundingBasketTest class

* started on DealFIleDAOTest
fixed error on CupboardControllerTest where something had an extra parameter

* stopped working on deals, tests are made

* made random part of deal actually random
seeded with current time down to nano

* fixed some errors from the merge

* moved deal related methods into proper Deal files

* fixed ass errors from changing some methods

* changed other files, removed depreciated methods
changed many functions parameters to work purely off of IDs
2023-11-20 08:36:05 -07:00
Mohammed Fareed
ffcae38b2e
Add field validation to add-edit need component 2023-11-19 23:04:31 -05:00
Mohammed Fareed
6876ca25cd
Fix and add unit tests 2023-11-19 22:27:53 -05:00
Mohammed Fareed
00319a5700
Revert "Deals Backend (#30)" (#31)
This reverts commit fc70dc2386.
2023-11-19 20:26:21 -07:00
RyanLeifer04
fc70dc2386
Deals Backend (#30)
* Started making deal object

* beginning to edit fundingbasket to include deals

* snd commit of same, not sure why

* created DealDAO and DealFileDAO

* created DealDAO and DealFileDAO, edited other DAO

* beginning changes to controller level

* backend things

* basic functions in dealDAO completed

* all basic function in backend done
functions for controller level done for "createNeed" card

* added commenting

* backend done i think?

* added removeDeal to FundingBasketController

* added and fixed comments

* bug fixing

* minor bugs fixed, backend now compiles

* Added DealTest
removed empty extra FundingBasketTest class

* started on DealFIleDAOTest
fixed error on CupboardControllerTest where something had an extra parameter

* stopped working on deals, tests are made

* made random part of deal actually random
seeded with current time down to nano

* fixed some errors from the merge

* moved deal related methods into proper Deal files

* fixed ass errors from changing some methods

* changed other files, removed depreciated methods
changed many functions parameters to work purely off of IDs
2023-11-19 21:53:20 -05:00
RyanLeifer04
553159f73e
Add push notifications (#29)
* Revert "Deals (#19)"

This reverts commit 088d18d536.

* Fix basket path

* Restore default admin credentials

* Fix tags

* Fix admin needs link

* Hide need IDs

* Fix checkout amount

* Fix deleted needs in baskets

* Fix tests

* Remove extra readme

* Fix funding basket user association

* Add notifications models

* Add notifications DAO

* Fix notifications models

* Fix notifications DAO

* Implement notifications controller

* Update docs

* Add tests files

* Add notification model

* Add notification service

* Add notifications view

* Route notifications center

* Fix minor bug

* Fix funding basket endpoint

* started changes for pushing notifications

* changes

* started to create push.service files

* fixed index.ts(was missing export for notification)
continued work on push.service

* posting notifications restarted

* creating pushNotification methods in the component
i have realized i dont know angular

* finished for the day, push is nearly done i think?

* seems to work, but push page wont open from button

* push button no longer fails, but page is blank

* still not working right

* merged main into branch to update

* made suggested changes to notifications.service.*

* added suggested changes again

---------

Co-authored-by: Mohammed Fareed <mohdf.fareed@icloud.com>
2023-11-19 20:30:32 -05:00
Mohammed Fareed
0984047ed6
Add unit tests (#28)
* Start writing unit tests

* [ERROR] Start building controller unit test

* Continue to implement tests

* Finish major checks of NotificationsCenter

* Fill out basic persistence test

* Save currently built unit tests

* Code Coverage increased to 63% total

NotificationsControllerTest framework tested.
Almost no IOExceptions tested or thrown yet

* Modify persistence to get unit tests to work

Yes, its not NEARLY as safe. But unit test is gonna unit test

* Finish UsersFileDAO unit tests

* CupboardFileDAO Unit testing complete*

A few edge cases are missing still

* Create most FundingBasketFileDAO Unit tests

* Start NotificationsFileDAO unit testing

I'm officially too tired to start on this incredibly complex test

* Add unit tests

* Restored `createFile` in file DAOs

Although they bring the code coverage down, they are needed to prevent
errors if working with new files.

UsersFileDAO has a bunch of changes due to formatter

---------

Co-authored-by: Blizzard Finnegan <blizzardfinnegan@gmail.com>
2023-11-19 19:18:17 -05:00
Mohammed Fareed
d6b242a7a5
Add need searching (#27)
* commiting my work on the search function, I haven't finished yet but I am like 90% done I would say.

* stashing my local changes

* Fix search backend

* Fix endpoint return status code

* Fix search service method

* Fix search ui

* Minor fixes

---------

Co-authored-by: Kenny Casey <kac9920@g.rit.edu>

tested and merged by: <rjl8327@rit.edu>
2023-11-19 19:12:46 -05:00
Mohammed Fareed
0b11bcbed2
Update docs 2023-11-18 02:00:41 -05:00
Mohammed Fareed
a33407150c
Fix editing and checkout bugs (#25)
* Fix editing needs

* Fix basket checkout amounts
2023-11-17 16:07:14 -05:00
1e438cf9b2
Update acceptance testing sheet 2023-11-13 16:58:54 -05:00
314c8ab802
Merge remote-tracking branch 'refs/remotes/origin/main' 2023-11-13 15:39:16 -05:00
5f4ba92fc4
Update design documents with User backend 2023-11-13 15:38:40 -05:00
Mohammed Fareed
aa6433bb15
Fix basket and needs view (#24)
* Fix funding basket tests

* Update api to support unfulfilled needs endpoint

* Fix ui to show only unfulfilled needs to helpers
2023-11-13 14:47:20 -05:00
Mohammed Fareed
87b60dd509
Subscriptions management (#23)
* Add controller endpoint

* Implement service methods

* Add `subscribe` button

* Add subscriptions view to notifications

* Fix checkout performance
2023-11-13 13:45:56 -05:00
Mohammed Fareed
f86ddfe5d1
Fix notifications 2023-11-13 13:17:30 -05:00
Mohammed Fareed
f1b9751e3a
Notifications UI (#22)
* Revert "Deals (#19)"

This reverts commit 088d18d536.

* Fix basket path

* Restore default admin credentials

* Fix tags

* Fix admin needs link

* Hide need IDs

* Fix checkout amount

* Fix deleted needs in baskets

* Fix tests

* Remove extra readme

* Fix funding basket user association

* Add notifications models

* Add notifications DAO

* Fix notifications models

* Fix notifications DAO

* Implement notifications controller

* Update docs

* Add tests files

* Add notification model

* Add notification service

* Add notifications view

* Route notifications center

* Fix minor bug

* Fix funding basket endpoint
2023-11-13 12:02:55 -05:00
Mohammed Fareed
8bcd18ba3e
Notifications (#21)
* Revert "Deals (#19)"

This reverts commit 088d18d536.

* Fix basket path

* Restore default admin credentials

* Fix tags

* Fix admin needs link

* Hide need IDs

* Fix checkout amount

* Fix deleted needs in baskets

* Fix tests

* Remove extra readme

* Fix funding basket user association

* Add notifications models

* Add notifications DAO

* Fix notifications models

* Fix notifications DAO

* Implement notifications controller

* Update docs

* Add tests files
2023-11-13 11:56:23 -05:00
Mohammed Fareed
7f3ef06682
Bug fixes and improvements (#20)
* Revert "Deals (#19)"

This reverts commit 088d18d536.

* Fix basket path

* Restore default admin credentials

* Fix tags

* Fix admin needs link

* Hide need IDs

* Fix checkout amount

* Fix deleted needs in baskets

* Fix tests

* Remove extra readme
2023-11-13 11:38:08 -05:00
nz8429
dfa7be1812
Edit Needs bug (#15)
* Fixed my comment

* Completed components of management screens for Needs

* Commented out unfinished methods and deleted unnecessary second ui
folder

* Update

* Prepping a back merge

* Reworked names, connected directly to backend, fixed double needs issue

* Fixed Edit Needs bug
2023-11-12 18:46:57 -05:00
Blizzard Finnegan
805f676321
Implement Docker containerisation (#18)
* Begin initialising User backend

Basket will be contained within the User class, perhaps....

* Resolve compile-time error

* Complete minimal implementation

* Create build and compose file

* Make docker build more modular

* IT RUNS

Now to actually write unit tests

* Attempt to debug docker file

Currently works correctly when built individually, but docker-compose
currently fails

* Project broken into multipel Dockerfiles

Docker Compose issues have been resolved in the given mount points in
both compose files.

User.java modified enough to resolve build error.

* Add comments to proxy compose

* Start unit testing

* Finish implementing unit testing

* Make build stable for both Docker and localhost

* Incremental update

Got past proxy errors, now to fix domain names

* Resolve naming convention
2023-11-12 18:45:47 -05:00
Blizzard Finnegan
12a4052582
Implement REST API in backend for User storage (#16)
* Begin initialising User backend

Basket will be contained within the User class, perhaps....

* Resolve compile-time error

* Complete minimal implementation

* IT RUNS

Now to actually write unit tests

* Start unit testing

* Finish implementing unit testing
2023-11-12 18:44:03 -05:00
RyanLeifer04
088d18d536
Deals (#19)
* Started making deal object

* beginning to edit fundingbasket to include deals

* snd commit of same, not sure why

* created DealDAO and DealFileDAO

* created DealDAO and DealFileDAO, edited other DAO

* beginning changes to controller level

* backend things

* basic functions in dealDAO completed

* all basic function in backend done
functions for controller level done for "createNeed" card

* added commenting

* backend done i think?
2023-11-12 17:19:36 -05:00
Neav Ziv
c7d15e382a Fixed Need Edit bug 2023-11-08 18:15:05 -05:00
Mohammed Fareed
ff9d2cc05b
Update gitignore to use sonar scanner 2023-11-05 21:39:14 -05:00
Mohammed Fareed
40c2dc08e5
Add sequence diagram 2023-11-05 19:45:56 -05:00
Mohammed Fareed
ac52942c55
Minor docs fixes 2023-10-31 00:07:44 -04:00
Mohammed Fareed
34506b88af
Add docs 2023-10-30 23:59:04 -04:00
Mohammed Fareed
a29cbe1b43
Update docs 2023-10-30 23:18:15 -04:00
6ae14d222c
Add acceptance plan 2023-10-30 17:32:15 -04:00
Kenny Casey
8abda8c8ea trying to fix things 2023-10-30 15:41:57 -04:00
Kenny Casey
4869eea53c Merge branch 'main' of https://github.com/RIT-SWEN-261-02/team-project-2231-swen-261-02-04-guessncheck 2023-10-30 15:01:11 -04:00
Kenny Casey
4ad5d24050 commiting so I can pull 2023-10-30 15:01:04 -04:00
Kenny Casey
c4b102927d commiting so I can pull 2023-10-30 14:57:50 -04:00