Skip to content

Commit

Permalink
🪑 N50 (#1140)
Browse files Browse the repository at this point in the history
* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* ✌️ Events (#797)

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🏋🏽‍♂️ Events (#805)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 🧁 Events (#807)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 🤵🏽‍♀️ Events (#806)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* 🧚🏼‍♀️ Events (#810)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* 🦸🏻 Events (#812)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 🤵🏽‍♀️ Events (#806)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* 👩🏼‍🎨 Events (#808)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* fix event feature for Mentee

* Fix issue

https://github.com/hack4impact-uiuc/mentee/issues/64

* 🎗️ Fixing issues (#816)

* 🤵🏽‍♀️ Events (#806)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 👩🏼‍🎨 Events (#808)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* ♿ Events (#811)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* ✨ Events (#813)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* fix event feature for Mentee

* Fix issue

https://github.com/hack4impact-uiuc/mentee/issues/64

* Fix Issue #798

https://github.com/hack4impact-uiuc/mentee/issues/798

* 🧑🏿‍🎓 Fixing issues (#817)

* 🤵🏽‍♀️ Events (#806)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 👩🏼‍🎨 Events (#808)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* ♿ Events (#811)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* ✨ Events (#813)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* fix event feature for Mentee

* Fix issue

https://github.com/hack4impact-uiuc/mentee/issues/64

* Fix Issue #798

https://github.com/hack4impact-uiuc/mentee/issues/798

* #814

https://github.com/hack4impact-uiuc/mentee/issues/814

* 👨‍👩‍👧‍👦 Fixing issues #814 (#818)

* 🤵🏽‍♀️ Events (#806)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 👩🏼‍🎨 Events (#808)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* ♿ Events (#811)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* ✨ Events (#813)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* fix event feature for Mentee

* Fix issue

https://github.com/hack4impact-uiuc/mentee/issues/64

* Fix Issue #798

https://github.com/hack4impact-uiuc/mentee/issues/798

* #814

https://github.com/hack4impact-uiuc/mentee/issues/814

* Pashto ar2 (#821)

* pashto ar 2

* pashto ar 2

* Pashto ar2 (#823)

* pashto ar 2

* pashto ar 2

* pashto 3

* 📺 Translations for dev (#822)

* translations

* translations

---------

Co-authored-by: git-translate[bot] <132621405+git-translate[bot]@users.noreply.github.com>
Co-authored-by: robert-dm <[email protected]>

* 🚴🏿‍♂️ Translations for dev (#827)

translations

Co-authored-by: git-translate[bot] <132621405+git-translate[bot]@users.noreply.github.com>

* 👮🏼‍♀️ Fix error of Pashto lang (#829)

Fix error of Pashto lang

* 🌹 Translations for dev (#834)

translations

Co-authored-by: git-translate[bot] <132621405+git-translate[bot]@users.noreply.github.com>

* #90

https://github.com/hack4impact-uiuc/mentee/issues/90

* #90

* 🧑🏾‍🎤 Fix issue #839 (#840)

* Fix issue #839

https://github.com/hack4impact-uiuc/mentee/issues/839

* remove comment

* 🎫 Fixing issues (#841)

* Fix issue #839

https://github.com/hack4impact-uiuc/mentee/issues/839

* remove comment

* Fix error for #839

* 😛 Fixing issues (#843)

* 🧑🏻‍🦰 Fixing issues (#820)

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* ✌️ Events (#797)

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🏋🏽‍♂️ Events (#805)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 🧁 Events (#807)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 🤵🏽‍♀️ Events (#806)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* 🧚🏼‍♀️ Events (#810)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* 🦸🏻 Events (#812)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 🤵🏽‍♀️ Events (#806)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* 👩🏼‍🎨 Events (#808)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* fix event feature for Mentee

* Fix issue

https://github.com/hack4impact-uiuc/mentee/issues/64

* 🎗️ Fixing issues (#816)

* 🤵🏽‍♀️ Events (#806)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 👩🏼‍🎨 Events (#808)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* ♿ Events (#811)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* ✨ Events (#813)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* fix event feature for Mentee

* Fix issue

https://github.com/hack4impact-uiuc/mentee/issues/64

* Fix Issue #798

https://github.com/hack4impact-uiuc/mentee/issues/798

* 🧑🏿‍🎓 Fixing issues (#817)

* 🤵🏽‍♀️ Events (#806)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 👩🏼‍🎨 Events (#808)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* ♿ Events (#811)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* ✨ Events (#813)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* fix event feature for Mentee

* Fix issue

https://github.com/hack4impact-uiuc/mentee/issues/64

* Fix Issue #798

https://github.com/hack4impact-uiuc/mentee/issues/798

* #814

https://github.com/hack4impact-uiuc/mentee/issues/814

* 🧔🏼 Fixing pashto (#830)

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* ✌️ Events (#797)

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🏋🏽‍♂️ Events (#805)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 🧁 Events (#807)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 🤵🏽‍♀️ Events (#806)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* 🧚🏼‍♀️ Events (#810)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* 🦸🏻 Events (#812)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 🤵🏽‍♀️ Events (#806)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* 👩🏼‍🎨 Events (#808)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* fix event features

admin - can create events for partners, mentors, mentees, able to select one or many (at least one)
partner - can create events for partners, mentors, mentees, able to select one or many (at least one)
mentor - can create events for mentors, mentees, able to select one, or both (at least one)
mentee - can create events for mentee, mentors, able to select one, or both (at least one)

* fix event feature for Mentee

* 🎗️ Fixing issues (#816)

* 🤵🏽‍♀️ Events (#806)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* 👩🏼‍🎨 Events (#808)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* ✌️ Events (#797)

* Fix issues for event feature

* Fix issues for event feature

* 🤝 Events (#802)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* 🌴 Events (#804)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* Fix issues for Event feature

* Fix issues for event feature

* Fix issues for event feature

* Modify UI on Event page

* translation

* fix some bugs

* front end format

* ♿ Events (#811)

* Event Features

* Event Feature

* Restore db setting

* 📢 Events (#785)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20.4

* Restore packaging version

* test for backend format

* test for backend format

* backend-format

* 🧖 Events (#787)

* Event Features

* Event Feature

* Restore db setting

* fix bug for Heroku

* change packaging 23.0 to 20…
  • Loading branch information
14 people authored Dec 18, 2024
1 parent cc1188a commit b208caa
Show file tree
Hide file tree
Showing 27 changed files with 475 additions and 100 deletions.
16 changes: 16 additions & 0 deletions backend/api/models/PartnerGroupMessage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from api.core import Mixin
from .base import db
from flask_mongoengine import Document
from mongoengine import *
from api.models import Availability


class PartnerGroupMessage(Document, Mixin):
body = StringField(required=True)
message_read = BooleanField(required=True)
sender_id = ObjectIdField(required=True)
created_at = DateTimeField(required=True)
parent_message_id = StringField(required=False)

def __repr__(self):
return f"<PartnerGroupMessage:{self.body} \n Sent by:{self.sender_id}>"
3 changes: 3 additions & 0 deletions backend/api/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from .Message import Message
from .DirectMessage import DirectMessage
from .GroupMessage import GroupMessage
from .PartnerGroupMessage import PartnerGroupMessage
from .Admin import Admin
from .Training import Training
from .Event import Event
Expand Down Expand Up @@ -64,6 +65,8 @@
"Support",
"SignOrigin",
"SignedDocs",
"GroupMessage",
"PartnerGroupMessage",
]

# You must import all of the new Models you create to this page
3 changes: 3 additions & 0 deletions backend/api/utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,6 @@ def __eq__(self, other):
}

TRANSLATION_COST_PER_PAGE = 0.08

N50_ID_DEV = "675985b41684c4310ac00e4c"
N50_ID_PROD = ""
13 changes: 13 additions & 0 deletions backend/api/views/apply.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
PROFILE_COMPLETED,
TRANSLATIONS,
ALERT_TO_ADMINS,
N50_ID_DEV,
N50_ID_PROD,
)
from api.utils.request_utils import (
send_email,
Expand Down Expand Up @@ -280,10 +282,17 @@ def change_state_to_build_profile(email, role):
application["application_state"] = NEW_APPLICATION_STATUS["BUILDPROFILE"]
application.save()
target_url = ""
n50_url = ""
if (
application["partner"] == N50_ID_DEV
or application["partner"] == N50_ID_PROD
):
n50_url = "n50/"
if "front_url" in request.args:
front_url = request.args["front_url"]
target_url = (
front_url
+ n50_url
+ "build-profile?role="
+ str(role)
+ "&email="
Expand Down Expand Up @@ -419,8 +428,12 @@ def edit_application(id, role):
logger.info(msg)
if application.application_state == NEW_APPLICATION_STATUS["APPROVED"]:
front_url = data.get("front_url", "")
n50_url = ""
if application.partner == N50_ID_DEV or application.partner == N50_ID_PROD:
n50_url = "n50/"
target_url = (
front_url
+ n50_url
+ "application-training?role="
+ str(role)
+ "&email="
Expand Down
10 changes: 8 additions & 2 deletions backend/api/views/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,9 @@ def edit_mentor(id):
def uploadImage(id):
image = request.files["image"]
try:
account_type = int(request.form["account_type"])
account_type = request.form["account_type"]
if isinstance(account_type, str):
account_type = int(account_type)
except:
msg = "Level param doesn't exist or isn't an int"
return create_response(status=422, message=msg)
Expand All @@ -672,6 +674,10 @@ def uploadImage(id):
if token is None:
if account_type == Account.PARTNER:
account = PartnerProfile.objects.get(id=id)
elif account_type == Account.MENTEE:
account = MenteeProfile.objects.get(id=id)
elif account_type == Account.MENTOR:
account = MentorProfile.objects.get(id=id)
else:
msg = "Level param doesn't match existing account types"
return create_response(status=422, message=msg)
Expand All @@ -687,7 +693,6 @@ def uploadImage(id):
and int(login_user_role) != Account.HUB
):
return response

if account_type == Account.MENTEE:
account = MenteeProfile.objects.get(id=id)
elif account_type == Account.MENTOR:
Expand All @@ -699,6 +704,7 @@ def uploadImage(id):
elif account_type == Account.ADMIN:
account = Admin.objects.get(id=id)


else:
msg = "Level param doesn't match existing account types"
return create_response(status=422, message=msg)
Expand Down
44 changes: 33 additions & 11 deletions backend/api/views/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Message,
DirectMessage,
GroupMessage,
PartnerGroupMessage,
PartnerProfile,
Availability,
Specializations,
Expand Down Expand Up @@ -379,7 +380,13 @@ def get_sidebar_mentors(pageNumber):
@all_users
def get_group_messages():
try:
messages = GroupMessage.objects(Q(hub_user_id=request.args.get("hub_user_id")))
hub_user_id = request.args.get("hub_user_id", None)
if hub_user_id is not None and hub_user_id != "":
messages = GroupMessage.objects(
Q(hub_user_id=request.args.get("hub_user_id"))
)
else:
messages = PartnerGroupMessage.objects()
except:
msg = "Invalid parameters provided"
logger.info(msg)
Expand Down Expand Up @@ -413,22 +420,37 @@ def get_direct_messages():
@socketio.on("sendGroup")
def chatGroup(msg, methods=["POST"]):
try:
message = GroupMessage(
body=msg["body"],
message_read=msg["message_read"],
sender_id=msg["sender_id"],
hub_user_id=msg["hub_user_id"],
parent_message_id=msg["parent_message_id"],
created_at=msg["time"],
)
logger.info(msg["hub_user_id"])
socketio.emit(msg["hub_user_id"], json.loads(message.to_json()))
if "hub_user_id" in msg and msg["hub_user_id"] is not None:
message = GroupMessage(
body=msg["body"],
message_read=msg["message_read"],
sender_id=msg["sender_id"],
hub_user_id=msg["hub_user_id"],
parent_message_id=msg["parent_message_id"],
created_at=msg["time"],
)
logger.info(msg["hub_user_id"])

else:
message = PartnerGroupMessage(
body=msg["body"],
message_read=msg["message_read"],
sender_id=msg["sender_id"],
parent_message_id=msg["parent_message_id"],
created_at=msg["time"],
)
logger.info(msg["sender_id"])

except Exception as e:
logger.info(e)
return create_response(status=500, message="Failed to send message")

try:
message.save()
if "hub_user_id" in msg and msg["hub_user_id"] is not None:
socketio.emit(msg["hub_user_id"], json.loads(message.to_json()))
else:
socketio.emit("group-partner", json.loads(message.to_json()))
msg = "successfully sent message"
except:
msg = "Error in meessage"
Expand Down
47 changes: 46 additions & 1 deletion frontend/src/app/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function App() {
const path = window.location.href;
const [role, setRole] = useState(getRole());
const [allHubData, setAllHubData] = useState({});

const [n50Flag, setN50flag] = useState(false);
// TODO: Remove this when we have a proper solution for this
// some kind of cached method of updating on login status change
// useEffect(() => {
Expand Down Expand Up @@ -91,12 +91,26 @@ function App() {

useEffect(() => {
setStartPathTime(new Date().getTime());
setTimeout(() => {
let n50_flag = localStorage.getItem("n50_user");
if (n50_flag) {
setN50flag(true);
} else {
setN50flag(false);
}
}, 500);
if (path.indexOf("/event") > 0) {
if (!role) {
let direct_path = "event" + path.split("/event")[1];
localStorage.setItem("direct_path", direct_path);
}
}
if (path.indexOf("/new_training") > 0) {
if (!role) {
let direct_path = "new_training" + path.split("/new_training")[1];
localStorage.setItem("direct_path", direct_path);
}
}
}, [path]);

useEffect(() => {
Expand Down Expand Up @@ -128,18 +142,33 @@ function App() {
<PublicRoute exact path="/">
<Home />
</PublicRoute>
<PublicRoute exact path="/n50">
<Home />
</PublicRoute>
<PublicRoute path="/login">
<Login />
</PublicRoute>
<PublicRoute path="/n50/login">
<Login />
</PublicRoute>
<PublicRoute path="/mentor/login">
<Login />
</PublicRoute>
<PublicRoute path="/n50/mentor/login">
<Login />
</PublicRoute>
<PublicRoute path="/mentee/login">
<Login />
</PublicRoute>
<PublicRoute path="/n50/mentee/login">
<Login />
</PublicRoute>
<PublicRoute path="/partner/login">
<Login />
</PublicRoute>
<PublicRoute path="/n50/partner/login">
<Login />
</PublicRoute>
<PublicRoute path="/readonly/login">
<Login />
</PublicRoute>
Expand All @@ -152,15 +181,27 @@ function App() {
<PublicRoute path="/apply">
<Apply />
</PublicRoute>
<PublicRoute path="/n50/apply">
<Apply />
</PublicRoute>
<PublicRoute path="/application-form">
<ApplicationForm />
</PublicRoute>
<PublicRoute path="/n50/application-form">
<ApplicationForm />
</PublicRoute>
<PublicRoute path="/application-training">
<Training />
</PublicRoute>
<PublicRoute path="/n50/application-training">
<Training />
</PublicRoute>
<PublicRoute path="/build-profile">
<BuildProfile />
</PublicRoute>
<PublicRoute path="/n50/build-profile">
<BuildProfile />
</PublicRoute>
{Object.keys(allHubData).map((hub_url) => {
return (
<>
Expand Down Expand Up @@ -598,6 +639,9 @@ function App() {
<PrivateRoute path="/messages/:receiverId">
<Messages />
</PrivateRoute>
<PrivateRoute path={"/partner_group_messages/:receiverId"}>
<GroupMessages />
</PrivateRoute>
<PrivateRoute path="/events">
<Events />
</PrivateRoute>
Expand All @@ -608,6 +652,7 @@ function App() {
<CreateMeetingLink />
</PrivateRoute>
{role == ACCOUNT_TYPE.HUB && <HubFooter />}
{n50Flag && <HubFooter />}
</Content>
<MeetingPanel />
</Layout>
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/components/LoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { ACCOUNT_TYPE, ACCOUNT_TYPE_LABELS, REDIRECTS } from "utils/consts";
import fireauth from "utils/fireauth";
import { fetchUser } from "features/userSlice";

function LoginForm({ role, defaultEmail, location }) {
function LoginForm({ role, defaultEmail, n50_flag, location }) {
if (!defaultEmail) {
if (location && location.state && location.state.email) {
defaultEmail = location.state.email;
Expand Down Expand Up @@ -124,6 +124,9 @@ function LoginForm({ role, defaultEmail, location }) {
})
);
let direct_path = localStorage.getItem("direct_path");
if (n50_flag) {
localStorage.setItem("n50_user", true);
}
if (direct_path) {
setTimeout(() => {
history.push(direct_path);
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/components/NavigationHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,14 @@ function NavigationHeader() {

const logoutUser = () => {
var login_path = getLoginPath();
var n50_flag = localStorage.getItem("n50_user");
if (n50_flag) {
login_path = "/n50";
}
logout().then(() => {
resetRoleState();
dispatch(resetUser());
localStorage.removeItem("n50_user");
if (login_path && login_path != "") {
// window.location.href = login_path;
history.push(login_path);
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/components/NavigationSider.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import useSidebars from "utils/hooks/useSidebars";
import { collapse } from "features/userSlice";
// import { ReactComponent as Logo } from "resources/mentee.svg";
import BigLogoImage from "resources/Mentee_logo_letter.png";
import N50SmallLogoImage from "resources/N50 Logo_small.png";
// import { ReactComponent as SmallLogo } from "resources/menteeSmall.svg";
import SmallLogoImage from "resources/Mentee_logo_small.png";
import "components/css/Navigation.scss";
Expand All @@ -27,6 +28,7 @@ function NavigationSider() {
const sidebarItems = useSidebars(role, user, t);
const isMobile = useMediaQuery({ query: `(max-width: 761px)` });
const currentPage = [history.location.pathname.split("/")[1]];
const n50_flag = localStorage.getItem("n50_user");

const onClick = ({ key }) => {
isMobile && dispatch(collapse());
Expand Down Expand Up @@ -83,7 +85,7 @@ function NavigationSider() {
// alt="MENTEE"
// />
<img
src={BigLogoImage}
src={n50_flag ? N50SmallLogoImage : BigLogoImage}
alt={""}
className={css`
height: 30px;
Expand Down Expand Up @@ -160,7 +162,7 @@ function NavigationSider() {
// alt="MENTEE"
// />
<img
src={BigLogoImage}
src={n50_flag ? N50SmallLogoImage : BigLogoImage}
alt={""}
className={css`
height: 50px;
Expand Down
Loading

0 comments on commit b208caa

Please sign in to comment.