Dan Ungureanu
fdb1d3404c
FEATURE: Add site setting to show more detailed 404 errors. ( #8014 )
...
If the setting is turned on, then the user will receive information
about the subject: if it was deleted or requires some special access to
a group (only if the group is public). Otherwise, the user will receive
a generic #404 error message. For now, this change affects only the
topics and categories controller.
This commit also tries to refactor some of the code related to error
handling. To make error pages more consistent (design-wise), the actual
error page will be rendered server-side.
2019-10-08 14:15:08 +03:00
Dan Ungureanu
90ce448675
PERF: Cache build_not_found_page
2019-02-12 21:20:33 +11:00
Kyle Zhao
5f754b43f1
extract inline onpopstate
handler on 404 page ( #6613 )
2018-11-15 13:35:38 -05:00
Kris
c219a5fb1e
Add btn-default class to all default buttons ( #6521 )
2018-10-24 16:09:36 -04:00
Misaka 0x4e21
d4fd19d49a
UX: Replace Google search with Discourse search on not found page
...
* UX: Replace Google search with Discourse search on not found page.
* FIX: Update application_controller_spec.rb.
2018-08-15 11:53:04 +10:00
Neil Lalonde
71b65be6f6
SECURITY: prevent use of X-Forwarded-Host to perform XSS
2018-08-13 16:45:22 -04:00
Kris
c2da25dd5c
Cleaning up the 404 page ( #5363 )
2017-11-24 12:41:31 -05:00
Robin Ward
d07ebf9d4c
UX: Support for custom error pages and headers in plugins
2017-11-14 16:31:44 -05:00
Robin Ward
52480d554a
UX: Support for custom 404 pages
2017-11-14 11:57:17 -05:00
Neil Lalonde
d506e577a5
FEATURE: if full search returns no results, show google search form
2017-08-15 16:46:41 -04:00
David Taylor
37300d6777
SECURITY: Do not show latest/top topics on 404 for login_required sites
2017-08-13 19:02:44 +03:00
Guo Xiang Tan
7b35c55a1e
FIX: Display Google search form when 404 page is rendered by Ember.
2017-06-29 14:37:24 +09:00
Guo Xiang Tan
0e8c849572
UX: "See more" on not found page should redirect to /top.
2017-02-27 13:33:19 +08:00
Sam
f5af4768eb
FEATURE: add clean support for running Discourse in a subfolder
...
To setup set DISCOURSE_RELATIVE_URL_ROOT to the folder you wish
2015-03-09 13:14:29 +11:00
Robin Ward
d6fa248093
UX: Update 404 page category badge to use centralized helper and style
2015-01-28 14:56:38 -05:00
Robin Ward
25755efeee
FIX: Safari 7 changed popstate behavior
2014-12-19 10:56:19 -05:00
Jeff Atwood
736dd6c948
Revert "jQuery-ize the 404 page Google search"
...
This reverts commit 6b209f0d7e
.
2014-10-20 00:22:24 -07:00
Jeff Atwood
6b209f0d7e
jQuery-ize the 404 page Google search
2014-10-20 00:19:48 -07:00
Robin Ward
a967d4dfba
FIX: Support popState on static 404 page
2014-10-15 14:42:18 -04:00
Arpit Jalan
362c05db43
Show category badge on 404 page topics
2014-09-06 17:06:12 +05:30
Jeff Atwood
3e74a19b67
remove hard-coded CSS on 404 page
2014-09-06 01:01:05 -07:00
Jeff Atwood
1ee3cf8c1d
fix some minor 404 search page issues
2014-07-08 15:57:41 -07:00
Sam
fd52c88548
Add classes for styling
2014-06-25 09:47:12 +10:00
Robin Ward
f50039b48b
Support 404 routes in the Ember App
2014-04-29 15:29:13 -04:00
Kris Aubuchon
6b050825ff
revising color variables appwide, also some adjustments to "topic not found" page
2014-02-23 20:47:44 -05:00
Shiv Kumar
8cf467042e
make google search url protocol independent
2014-01-26 15:24:38 -08:00
Shiv Kumar
2b837827ae
make search on 404 page secure
2014-01-26 14:48:12 -08:00
Robin Ward
19c169540c
Staff can enter and view deleted topics
2013-07-11 16:39:35 -04:00
Sam
e6e81efe85
correct information leak in page not found
2013-06-13 10:27:17 +10:00
Robin Ward
36269cfbaa
Rename 'popular' to 'latest'. First stab at 'Hot' tab.
2013-03-27 16:21:23 -04:00
Jeff Atwood
416f981f92
change 404 page to use /new link under "New topics"
2013-02-27 16:48:53 -08:00
Alexander Shapkin
ee8825408b
add english locale to page
2013-02-22 15:33:35 +04:00
Alexander Shapkin
105ae2a174
fix spaces and use link_to instead of <a> tags
2013-02-20 12:08:22 +04:00
Jeff Atwood
ae034a438c
scope google search on 404 to domain
2013-02-13 01:05:35 -08:00
Jeff Atwood
8078f04769
minor 404 page improvements
2013-02-13 00:25:27 -08:00
Robin Ward
21b5628528
Initial release of Discourse
2013-02-05 14:16:51 -05:00