Commit graph

20 commits

Author SHA1 Message Date
Ankush Menat
8779be9b49
fix: propogate correct HTTP status code (#22450) 2023-09-18 10:30:12 +00:00
Corentin Flr
23846434ee
fix(path_resolver): Avoid 200 OK for NotFoundPage renderer 2023-06-16 14:39:03 +02:00
Ankush Menat
fa6dc03cc8
refactor: frappe.cache() usage to frappe.cache (#21282) 2023-06-08 11:47:17 +05:30
Rushabh Mehta
2a50d6c593 fix(ux): add better home for blog category, cleanup forms 2022-10-18 17:28:47 +05:30
Rushabh Mehta
ac263d02ae fix(minor): skip broken redirect 2022-10-17 18:54:41 +05:30
Ankush Menat
48869d506f perf: dont order by for uniq searches 2022-08-21 17:37:40 +05:30
Ankush Menat
786df3fbeb perf: ~33% faster Desk response
- hardcode `/app` resolution
- use cached website settings everywhere. It was mixing cache and DB
  everywhere and re-quering same thing (why ?)
2022-08-21 17:35:07 +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
44536fac49 fix: Prioritse TemplatePage over ListPage 2021-06-28 15:53:34 +05:30
Suraj Shetty
5531bc1e88 fix: Prioritize document page over template page 2021-06-24 11:35:53 +05:30
Suraj Shetty
879ecaacab fix: Custom page renderer logic 2021-06-03 10:40:36 +05:30
Suraj Shetty
a42fc3c5df feat: Option to add custom renderers 2021-05-31 14:56:09 +05:30
Suraj Shetty
8317e00712 refactor: Rename page_controllers folder to page_renderers 2021-05-25 09:27:26 +05:30
Suraj Shetty
70a8bd5945 refactor: Rename validate function to can_render 2021-05-25 08:21:06 +05:30
Suraj Shetty
862b5320b6 refactor: Move code to appropriate files
- Delete unused resolve_route method
- move resolve_path & resolve_redirect to path_resolver
- Remove redirect.py
2021-05-20 01:29:02 +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
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