Commit Graph

66 Commits

Author SHA1 Message Date
Donovan Daniels
4ff4c3718e
[DText] Explicitly set when color is allowed in preview (#665) 2024-07-20 10:19:40 -07:00
Earlopain
4f3be1955e
[Notes] Add back ability to search by post note updater 2023-08-31 17:38:09 +02:00
Earlopain
cc379af5eb
[Search] Add custom input type for users
Automatically adds name/id search
2023-08-04 20:46:59 +02:00
Earlopain
8e7914aad8
[Search] Add the submit button automatically 2023-05-07 13:06:00 +02:00
Earlopain
839ad27782
[Header] Render navbar <menu>s outside the partials 2023-03-03 16:22:51 +01:00
faucet
b4e8c5105e [Notes] Improve search UI for notes and note changes 2023-02-05 19:48:56 +00:00
Earlopain
9afc1949fa
[CSS] Clean up duplicate table classes
width: 100% is already part of the class.
Remove duplicate classes .table/.striped and exclusivly use the more common one.
Add this class to PostReportReasons/Help, which were missing it.
2022-12-29 16:36:33 +01:00
Earlopain
e262f06a93
[Cleanup] Remove NoteSanizier
Notes are formatted using dtext only. Even though the existance of this
class suggests that some html elements are allowed, it doesn't actually do anything.
Link relativization also didn't work, same with dtext colors.
2022-12-17 17:00:27 +01:00
Earlopain
a92147b434
[Search] Add hideable search to a few places 2022-04-02 21:23:36 +02:00
Earlopain
212d6e3727
[Search] Automatically set values from url search params
Setting them every time manually is cumbersome, and a few places didn't even do it.
This also adds a shorthand for setting the autocomplete attribute
2022-04-02 21:23:28 +02:00
Earlopain
4895e0b321
[Search] Move forms into partial 2022-04-02 21:22:55 +02:00
Earlopain
9b7c4db852 [Template] Don't explicitly add app_name in every title
- Use a helper function to add it to every title (except the root path
which is just the app_name)
- Remove useless set_title function in application_controllerller
2021-03-21 16:58:35 +01:00
Kira
17d5c8ac89 More dead .js files removed 2020-02-21 21:40:37 -08:00
Kira
4256b02af3 Use DText for notes 2019-10-23 18:30:53 -07:00
evazion
0f96f4afb0 autocomplete: add username autocompletion sitewide. 2019-08-13 03:19:44 -07:00
Kira
21a077d8e1 Route help pages to help system. 2019-03-26 22:27:07 -07:00
evazion
47e26419d3 nav menu: add html ids to secondary nav menu links (#3844). 2018-08-27 20:57:59 -05:00
BrokenEagle
5cdd8d8f67
Standardize position of page title and secondary links
- Removed path specification for secondary links where unneeded
2017-12-28 10:20:27 -08:00
evazion
e875f2973a /notes, /note_versions: link directly to note within post.
Also adds a "»" link, linking to the note's history.
2017-07-07 16:39:10 -05:00
evazion
990f173b3d notes: move sanitization from d_text.rb to note_sanitizer.rb. 2017-06-15 22:58:13 -05:00
Albert Yi
57148b0690 Merge pull request #2989 from evazion/fix-notes-listing
Default /notes to listing notes, not posts.
2017-04-24 13:46:51 -07:00
evazion
989917cb07 /notes, /note_versions: use numbered paginator. 2017-04-23 14:59:36 -05:00
evazion
e6d1842545 /notes: default to listing notes, not posts. Remove group_by=post.
The posts listing is replaced by a link to order:note.
2017-04-23 14:59:36 -05:00
evazion
4631262374 Fix broken tag autocomplete on multiple pages.
Mark all tag <input>s with a `data-autocomplete` attribute, instead of
hardcoding a list of html IDs to autocomplete in javascript.

This way should be less error prone. It fixes autocomplete in several places:

* Autocomplete for the search box on /posts didn't work in the
  responsive layout. This was because /posts has two search boxes that
  both have the id `tags`: one in the normal sidebar, and one in the
  responsive tag list. $("#tags") only initialized autocomplete on the
  first one.

* Autocomplete didn't work on the aliases or implications pages. This
  was due to selecting the wrong html ids.
2017-04-22 15:24:03 -05:00
evazion
0ed0fb095b /notes/search: convert to simple form. 2017-04-22 13:04:04 -05:00
evazion
b2a6cf070c Use raw note body instead of sanitized body for note edit box. 2016-11-19 21:33:26 -06:00
r888888888
6b96032a4e fixes #2486: Blacklist indication/display across the site 2015-08-18 15:47:31 -07:00
Toks
772003a55a fixes #2217 2014-07-06 12:03:48 -04:00
Toks
ab0b935715 Clean up note views
* Make note deleted notice stand out more
* Use same note deleted notice on both note views
* Don't render notes as dtext
2013-07-18 12:51:10 -04:00
Toks
7b5669ab60 Add warning to note search mirroring comment search 2013-07-14 19:20:02 -04:00
Toks
227ad46634 consistency with comment search page 2013-06-22 14:05:30 -04:00
r888888888
d5f575159f rename references of privileged to gold 2013-04-28 00:04:52 -07:00
Toks
8b33cac661 replace old user links with new format 2013-04-04 23:16:28 -04:00
Toks
3ba149c8bc quick search link consistency 2013-03-31 08:32:23 -04:00
Toks
190d1b1488 fix ids in quick searches again 2013-03-30 15:54:56 -04:00
Toks
3bfb05d795 add more quick searches
comments, notes, and users
2013-03-30 15:25:09 -04:00
Toks
4f42ab8bdb adds support for user level-dependent classes
all links to users should have their class attribute set to that user's
level_class
2013-03-30 12:04:58 -04:00
小太
1a03a86592 Kill trailing whitespace in erb files 2013-03-19 23:11:58 +11:00
albert
0595019958 change relative times to absolute on listings 2013-03-13 16:25:08 -04:00
albert
c5731298fb clarify post deletion/flag logic 2013-02-19 22:03:01 -05:00
albert
b109d44daf fix search forms 2013-02-18 15:50:57 -05:00
albert
327af0e93d fixes to note fonts 2013-02-17 23:51:53 -05:00
albert
301bbbfde5 fix for post rss feeds, fix for notes 2013-02-17 00:45:08 -05:00
albert
9e6a25f844 add ubiquitous time tags 2013-01-22 15:28:12 -05:00
albert
7bca79e71a fixesg 2013-01-14 11:23:43 -05:00
albert
8749c43b3e refactored search 2013-01-10 17:45:52 -05:00
albert
608f390eef fixes #320 2012-02-20 14:48:37 -05:00
albert
f6367aab49 layout fixes 2011-11-03 17:14:41 -04:00
albert
5f2f24814d style/js fixes 2011-11-03 16:35:16 -04:00
albert
34ae712be0 fixed titles 2011-10-23 16:55:57 -04:00