Skip to content

Commit

Permalink
Updated personal stat update and removed member ps report
Browse files Browse the repository at this point in the history
Signed-off-by: tiksan <[email protected]>
  • Loading branch information
dssecret committed Dec 5, 2024
1 parent 1a48c61 commit 528d44e
Show file tree
Hide file tree
Showing 21 changed files with 44 additions and 1,530 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Changed Git hook tooling to Lefthook from pre-commit
- Changed `tornium-estimate.user.js` to cache `GET /api/v1/user/estimate/<tid>`
- Changed existing theme SCSS system to be better structured
- Changed `tasks.user.update_user` to update the user only if there is not data for the day
- Changed `PersonalStats` model to store per-day data instead of per-hour data

### Fixed
- Fixed retaliations not being marked as completed and being spammed
Expand All @@ -40,3 +42,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Removed assists from Celery, application, etc.
- Removed `TorniumExt` plugin system
- Removed private user data from `GET /api/v1/user`
- Removed member personal stat report
23 changes: 0 additions & 23 deletions application/controllers/api/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
gateway,
items,
key,
report,
stat,
stocks,
user,
Expand Down Expand Up @@ -222,28 +221,6 @@
# /api/v1/items
mod.add_url_rule("/api/v1/items", view_func=items.item_name_map, methods=["GET"])

# /api/v1/report
mod.add_url_rule(
"/api/v1/report/faction/members",
view_func=report.faction_member.get_reports,
methods=["GET"],
)
mod.add_url_rule(
"/api/v1/report/faction/members",
view_func=report.faction_member.create_report,
methods=["POST"],
)
mod.add_url_rule(
"/api/v1/report/faction/members/<string:rid>",
view_func=report.faction_member.delete_report,
methods=["DELETE"],
)
mod.add_url_rule(
"/api/v1/report/faction/members/<string:rid>",
view_func=report.faction_member.get_report,
methods=["GET"],
)

# /api/v1/stat
mod.add_url_rule("/api/v1/chain-list", view_func=stat.generate_chain_list, methods=["GET"])
mod.add_url_rule("/api/v1/stat/<int:tid>", view_func=stat.get_stat_user, methods=["GET"])
Expand Down
16 changes: 0 additions & 16 deletions application/controllers/api/v1/report/__init__.py

This file was deleted.

331 changes: 0 additions & 331 deletions application/controllers/api/v1/report/faction_member.py

This file was deleted.

Loading

0 comments on commit 528d44e

Please sign in to comment.