Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ✨ add: users CRUD * ✨ add: buildings CRUD and user relation * Update README.md * ✨ auth: created auth middleware * authentication canvas * 🔒 auth middleware: implemented on buildings * 🔒 auth middleware on all endpoints * 🐛 misstyping on auth_middleware invoking * 📝 doc: authentication * Feature: Create class route * Update event schema, professors is now a vector * ✨ feat: add users * 🩹 fix: buildings ids list on user insertion * ✨ users: user listing with building relations * Update preferences schema * Update edit class route * Change update preferences route * 🔒 boto config on .env * 🛂 users: admin authorization middleware * ✨ users: user edition * ✨ add: delete users * 🩹 edit user: admins has their buildings removed * ♻️ admin middleware: refactored to use less code * 🐛 dotenv: dotenv refreshing on repositories * Fix class id missing prettify_id * Change update class route * 📝 added pendencies file * ✨ users: introduced name and error treatment * Fix auth middleware error * Update auth_middleware.py * ✨ self: created self route * 🩹 user repository: get_by_username now with relations * ♻️ reafactor: database name as env * ♻️ refactor: port as enviroment * Create new route for getting events by class * Fix a auth middlaware bug from OPTIONS method * 🔧 config: added .env.example To simplify the configuration without having a dotenv * Update auth_middleware.py * Create new route for getting events by class * 🔧 config: added .env.example To simplify the configuration without having a dotenv * 🔨 FIX: database default value * 🩹 FIX: Removed Conflict check on getting available classes * Create classes mappers and sorter * Create classroom mappers and sorter * Create event sorter * Create vanilla allocation algorithm * Create days map * Create event sorter * Create reverse days indexer * Create new events sorter and a new event mapper * Change allocation algorithm * 🔥 Removed useless comments * FIX: Organized buildings imports * ADD: get conflicts endpoint * FIX: conflict detecting logic * ADD: grouped the conflicts response * FIX: grouped the conflict response * FIX: prettified conflicts ids * FIX: init resets conflicts calculator * Upgrades in allocation algorithm * Fix a error in allocation route * Create new get route in classrooms * Create new route for delete single event allocation and format the code * ADD: conflict week_day sorting * 💩 quickfix to allocate with jupiterweb * Add new field in classroom schema * Create new feature to load and save a allocation * ADD: new jupiter crawler * ADD: crawler breakpoint safety * FIX: id comparring issue * DEL: removed leagacy crawler * ADD: grouped conflicts * REFACTOR: jupiter crawler and conflict checker * FIX: jupiter crawler now with subject info * FIX: subscribers property name * FIX: added default value if classroom is null * ADD: route to get classrooms with conflict indication * FIX: removed conflict with self * ADD: check lots of events * ADD: refactor event edit and allocations * REFACTOR: edit many allocation * ADD: classes now return the array of events_ids that built it * Fix mobile blueprint * FIX: connections * repositories singleton fix --------- Co-authored-by: Gabriel Di Vanna Camargo <109106987+FastShowDev@users.noreply.github.com> Co-authored-by: FastShowDev <zlFastShow@hotmail.com>
- Loading branch information