Commit Graph

114 Commits

Author SHA1 Message Date
pateljannat 7a40b3e7a5 fix: test for community member and lms course 2021-04-28 17:52:12 +05:30
pateljannat 7b142fd72d test: member creation from user 2021-04-28 13:50:40 +05:30
pateljannat fc8ff9c7fd Merge branch 'main' of https://github.com/frappe/community into batch-discussions 2021-04-28 13:08:23 +05:30
pateljannat c6bd47eb62 fix: user validaton and community member name issue 2021-04-28 13:08:09 +05:30
Anand Chitipothu 68406762c9 Merge pull request #33 from fossunited/testable
Setup CI using github actions
2021-04-28 06:42:30 +05:30
Anand Chitipothu 89c539a3ed [mockups] added navbar 2021-04-27 21:09:09 +05:30
Anand Chitipothu 8d62b5c504 chore: Added CI using github actions 2021-04-27 19:49:56 +05:30
Anand Chitipothu 8857b97773 refactor: added methods to access mentors from course with test cases 2021-04-27 19:49:02 +05:30
Anand Chitipothu 46e7a5c0d1 Added mockups 2021-04-27 19:17:48 +05:30
pateljannat d68f1de796 feat: #27 discussion message publish realtime 2021-04-27 16:32:34 +05:30
pateljannat ffdc554106 Merge branch 'main' of https://github.com/frappe/community into main 2021-04-27 10:34:00 +05:30
pateljannat 424967b03e feat: #28 info page, #27 discussion page initial structure, add batch webform change 2021-04-27 10:33:49 +05:30
Anand Chitipothu b80663a245 Added bug tag to Bug issue template 2021-04-26 16:43:53 +05:30
pateljannat 44dc42d7dd feat: batch folders, redirects, members page 2021-04-26 10:16:53 +05:30
pateljannat c18916096e fix: conflicts 2021-04-22 14:43:53 +05:30
pateljannat 3b578d750a fix: validations for new batch form 2021-04-22 14:43:04 +05:30
Anand Chitipothu 00107134b4 feat: add new design and improved the layout of the course page 2021-04-22 10:28:50 +05:30
Anand Chitipothu 153bb925d8 fix: show mentors section even when there are no mentors
Previously, the mentors heading was not shown when there were no
mentors, but the link to apply to become mentor was shown and that
appears in the Instructors section.

Fixed it by showing a message to indicate that there are no mentors for
this course.
2021-04-21 15:48:01 +05:30
Anand Chitipothu 22448a8a7b added links to lms_course and lms_batch dooctypes.
This makes it possible to the number of batches for a course, the number
of mentors for a course etc.
2021-04-21 15:13:16 +05:30
pateljannat 54fe2efa07 fix: label changes for mentor request in lms settings 2021-04-21 13:29:36 +05:30
pateljannat 86bd708c34 fix: apply as mentor even if email template not found 2021-04-21 13:17:07 +05:30
pateljannat 87d67c55e0 Merge branch 'main' of https://github.com/frappe/community into main 2021-04-21 12:58:27 +05:30
pateljannat 3405de9394 fix: course page created by administrator 2021-04-21 12:58:17 +05:30
Anand Chitipothu ab3c4c34ce Created Bug Report template 2021-04-21 12:28:02 +05:30
pateljannat b09ec1e29d feat: add new batch and mentor course mapping 2021-04-21 10:47:10 +05:30
pateljannat a2fe314420 Merge branch 'main' of https://github.com/frappe/community into main 2021-04-20 13:22:50 +05:30
pateljannat df9b856a91 fix: change repository link field to small text 2021-04-20 13:22:45 +05:30
pateljannat e6248f9e02 feat: course page redesign 2021-04-20 13:21:01 +05:30
Anand Chitipothu be93a496cc fix: not permitted error when code is edited
This was caused by auto-save when the user is not logged in. Fixed it by
disabling auto-save for guest users.
2021-04-20 12:20:34 +05:30
pateljannat 91be957885 Merge branch 'main' of https://github.com/frappe/community into main 2021-04-15 09:33:24 +05:30
pateljannat 20e562bfb0 docs: hackathon 2021-04-15 09:33:17 +05:30
Anand Chitipothu 6fad78278a feat: added code_revision doctype for saving code snippets.
This was supposed to be part of revision f15080, but that got missed out.
2021-04-14 11:30:41 +05:30
pateljannat dfe8b3d4a2 fix: style 2021-04-14 11:29:32 +05:30
pateljannat e8ff9a5a32 feat: profile page 2021-04-14 11:19:02 +05:30
Anand Chitipothu 88888903ab fix: discussion tab when there are no messages
- fixed the issue of not showing discussion tab when there are no messages
- fixed the error when the course page is visited by a guest user
2021-04-14 06:43:48 +05:30
pateljannat d38c64650e fix: patch to update name of member 2021-04-12 18:05:43 +05:30
pateljannat 0e1002392f fix: styling for dashboard 2021-04-12 14:59:49 +05:30
pateljannat 258ccb1642 feat: dashboard 2021-04-12 14:05:02 +05:30
pateljannat 767aaac913 docs: ReadMe update 2021-04-08 14:40:02 +05:30
pateljannat 871ad279d1 Merge branch 'main' of https://github.com/frappe/community into main 2021-04-07 19:53:08 +05:30
pateljannat 84cf74e25d fix: clean urls for hackathons and correcting slug parameter for discussions 2021-04-07 19:53:03 +05:30
Anand Chitipothu b8b7673985 fix: added a work-around to the issue of regex converter not loaded.
frappe app doesn't load all python modules of all the apps on startup. It
loads the hooks.py only if it is not already cached. Because of this the code
to install the regex coverter to not running, causing errors.

Fixed it by replacing the regex route with a string route. The issue is it
also matches the paths like `socket.io` and `website_script.js` etc. Handled
that by whitelisting those routes.
2021-04-07 12:41:17 +05:30
Anand Chitipothu f1508033a3 feat: implemented autosave for sections
Now the changes made to the code in each section will be autosaved and loaded
back on next page load.
2021-04-07 01:40:13 +05:30
Anand Chitipothu 15b8b99ae2 fix: fixed the issue with dynamic routes.
- The code to install regex controller was not always executed. Forced the
  exection of that by adding it to community/__init__.py
- Renoved the that code from hooks.py
2021-04-07 01:40:13 +05:30
pateljannat 3d024a289e fix: conflicts 2021-04-06 18:53:34 +05:30
pateljannat 7658942500 fix: email patch and conference portal 2021-04-06 18:51:40 +05:30
Anand Chitipothu b197fd605c Merge pull request #12 from fossunited/nice-urls
Implemented nice urls for courses, topics, sketches and profiles
2021-04-06 18:39:07 +05:30
Anand Chitipothu a3788a0f39 refactor: added nice urls for sketches.
- Sketches will be available at `/sketches/<sketch-id>`
2021-04-06 18:36:07 +05:30
Anand Chitipothu 06f7698e8f refactor: added custom routing for profiles
- installed a regex conveter to werkzeug to support regular expresions in routes
- added a website route rule to match all profiles
2021-04-06 18:07:05 +05:30
Anand Chitipothu 175bd19a51 refactor: added slugs to course and topics to make nice urls
- the slug is autogenerated from the title
- the slug of a topic is unique among all the topics of that course
2021-04-06 18:07:05 +05:30