Commit Graph

43 Commits

Author SHA1 Message Date
pateljannat
d68f1de796 feat: #27 discussion message publish realtime 2021-04-27 16:32:34 +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
pateljannat
44dc42d7dd feat: batch folders, redirects, members page 2021-04-26 10:16:53 +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
pateljannat
86bd708c34 fix: apply as mentor even if email template not found 2021-04-21 13:17:07 +05:30
pateljannat
3405de9394 fix: course page created by administrator 2021-04-21 12:58:17 +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
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
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
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
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
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
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
Anand Chitipothu
253c25bf1f Show 404 page when the topic is not found.
Earlier it was failing with internal error.
2021-04-06 18:07:05 +05:30
Anand Chitipothu
53af969a2e Added nice URLs to course and topic pages.
The URL of a course will be `/courses/<course-name>` and a topic will be
`/courses/<course-name>/<topic-name>`.

Implemented this by adding entries to `website_route_rules`.
2021-04-06 18:07:05 +05:30
pateljannat
87acbb9f6e Merge branch 'main' of https://github.com/frappe/community into main 2021-03-31 10:48:28 +05:30
pateljannat
bf789c1891 feat: emails on messages 2021-03-31 10:48:23 +05:30
Anand Chitipothu
24bb0f2b2a Implemented a better inline editor for livecode.
- It shows the code like a textarea and the canvas will to the right
- It will take only the amount of height required for the code
- The existing LiveCodeEditor was renamed as LiveCodeEditorLarge and still
  used or sketches
2021-03-29 18:56:48 +00:00
pateljannat
389254b673 fix: message from course page 2021-03-23 19:26:31 +05:30
pateljannat
6433af6613 Merge branch 'main' of https://github.com/frappe/community into main 2021-03-23 15:29:18 +05:30
pateljannat
ab5929a4e8 feat: discussions tab and web form for messages 2021-03-23 15:29:12 +05:30
Anand Chitipothu
071df674c0 Removed the debug text in rendering topic pages. 2021-03-23 04:23:52 +00:00
Anand Chitipothu
03a22bd537 Switched to using frappe.utils.md_to_html for rendering markdown.
The `markdown` filter doesn't convert to html if there is any html tag in the
input.
2021-03-23 04:20:54 +00:00
Anand Chitipothu
faf102bdec Added support to split the topic description into sections.
We are using special markup to split the description into sections.

Each section is marked as:

    {{ section(type="example", id="foo") }}
    ...
    {{ end }}

This is the first-cut implementation and requires cleanup.
2021-03-12 12:33:41 +00:00
pateljannat
ce7175040f Merge branch 'main' of https://github.com/frappe/community into main 2021-03-12 12:22:19 +05:30
pateljannat
25a0dd02ac feat: community member for profile and edit profile form 2021-03-12 12:22:12 +05:30
Anand Chitipothu
3583cd084d Fixed error on topic pages
The macro was imported wihout "with context" flag.
2021-03-09 12:34:48 +00:00
Anand Chitipothu
13030b0b9b Cleanup: moved LiveCodeEditor into a macro 2021-03-09 11:51:09 +00:00
Anand Chitipothu
480774755f Moved the css to assets 2021-03-09 11:50:45 +00:00
Anand Chitipothu
b7602d6d2b Added codemirror integration to LMS topic pages 2021-03-09 09:37:17 +00:00
Anand Chitipothu
862878462b Added LMS Settings.
The `livecode_url` is now part of LMS settings and not hardcoded in the code.
2021-03-09 09:04:39 +00:00
Anand Chitipothu
fc6f60c4d7 Integrated topic page with livecode. 2021-03-08 11:11:48 +00:00
Anand Chitipothu
bfc15cf1a4 Added preview and sections fields to LMS Topic
- The preview is used to show the details of the topic in the course page
- the sections are used to show the different part of the topic, each could be of a different type

Issue #8
2021-03-05 17:20:02 +00:00
Anand Chitipothu
f96c8c27ed Renamed thr LMS doctypes in the portal pages
Issue #7
2021-03-05 17:13:01 +00:00
pateljannat
8b5cd8e6c6 refactor: seperate module for hackathon 2021-03-04 20:11:18 +05:30
pateljannat
acea59767d feat: course enrollment and my courses page 2021-03-03 17:44:46 +05:30
Anand Chitipothu
5ab4f86f90 Added portal pages for courses and topics. 2021-03-02 07:00:14 +00:00