Ankush Menat
dbc2e092f1
fix: escalate print failures
...
Print failures shouldn't generate PDF with failure message but instead escalate the error.
This prevent all the PDFs that just contain "PermissionError" from being sent.
2024-02-28 16:42:03 +05:30
Akhil Narang
6819a38fbe
fix: set correct response code for redirections
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-12-20 17:36:42 +05:30
Ankush Menat
8779be9b49
fix: propogate correct HTTP status code ( #22450 )
2023-09-18 10:30:12 +00:00
Ankush Menat
f52869482d
chore: dont log 404 as errors
2022-12-20 11:20:50 +05:30
Shariq Ansari
a50e0ffa08
refactor: Webform ( #17232 )
2022-07-19 15:52:15 +05:30
Rushabh Mehta
248c3555e3
fix(minor): add error_log for failed webhooks and web pages
2022-04-20 15:16:44 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black ( #16453 )
...
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
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