Commit graph

24 commits

Author SHA1 Message Date
Suraj Shetty
8317e00712 refactor: Rename page_controllers folder to page_renderers 2021-05-25 09:27:26 +05:30
Suraj Shetty
d0915a709b fix: Make http_status_code non mandatory 2021-05-25 08:22:45 +05:30
Suraj Shetty
c26c5d9ef0 feat: Add is_valid_path method to PathResolver 2021-05-19 19:04:16 +05:30
Suraj Shetty
1be1c25e58 fix: 404 caching
- Move 404 resolving code to path resolver
2021-05-19 04:46:19 +05:30
Suraj Shetty
6375818c10 fix: 404 caching 2021-05-18 21:57:20 +05:30
Suraj Shetty
c217b32fa9 fix: Add cache_html decorator to cache HTML 2021-05-18 15:41:23 +05:30
Suraj Shetty
0c575f02ea fix: Handle encoding issue and some edge cases 2021-05-18 11:43:42 +05:30
Suraj Shetty
c8d588819f refactor: Move get_sidebar_data method to utils
- Also, rename get_sidebar_data to get_sidebar_items & delete context.py
- Remove commented text
2021-05-18 09:05:02 +05:30
Suraj Shetty
a02e5f766a refactor: Add path_resolver to separate route resolving part 2021-05-18 08:43:49 +05:30
Suraj Shetty
c5b9815248 fix: Add get_response_content to get page content 2021-05-14 23:43:36 +05:30
Suraj Shetty
4219ef98d1 fix: Update renderer sequence 2021-05-14 13:31:13 +05:30
Suraj Shetty
006f0a2baf fix: Rename resolver to renderer 2021-05-11 17:03:00 +05:30
Suraj Shetty
9429d06a17 refactor: Remove reduntant code
- Use Error & NotFound page as required
2021-05-11 16:44:50 +05:30
Suraj Shetty
9f1f3ae3fc style: Fix code correctness issues 2021-04-28 13:37:48 +05:30
Suraj Shetty
a5f274b5a3 fix: Enable WebForm page 2021-03-15 10:15:27 +05:30
Suraj Shetty
39da825592 refactor: Move page controllers to separate files
- Make template page work
2021-03-12 11:42:24 +05:30
Suraj Shetty
30659b9ee2 feat: Option to consider query string while writing website redirect
- if match_with_query_string is true in a website redirect rule, system will try to match the regex with the result of route + query_string
2021-03-11 10:29:12 +05:30
Rushabh Mehta
b699d92f5e fix(minor): http_status_code 2021-02-15 18:05:44 +05:30
Rushabh Mehta
e79e142061 fix(minor): fix some tests and merge old and new website tests 2021-02-15 17:43:17 +05:30
Rushabh Mehta
75ba0ca6a9 fix(minor): website/serve.py 2021-02-15 13:49:38 +05:30
Rushabh Mehta
46dc5af29a fix(list): make list pages work 2021-02-15 12:55:47 +05:30
Rushabh Mehta
4369b8c0dc fix(rendering): add doctype generate pages 2021-02-15 09:54:13 +05:30
Rushabh Mehta
3f38c33004 fix: status_code, login page works 2021-02-15 09:54:13 +05:30
Rushabh Mehta
435bbe2665 wip: refactor website routing and rendering 2021-02-15 09:54:13 +05:30