evazion
c4852b3486
rails: fix deprecated #to_s(:format) method.
...
Fix this deprecation:
Deprecate passing a format to #to_s in favor of #to_formatted_s in
Array, Range, Date, DateTime, Time, BigDecimal, Float and, Integer.
https://guides.rubyonrails.org/7_0_release_notes.html#active-support-deprecations
2022-02-01 13:19:50 -06:00
evazion
0376765847
views: standardize timestamp format across history pages.
...
Standardize the timestamp format across various history pages to look like this:
DanbooruBot »
2022-01-19 23:28
2022-01-19 23:33:06 -06:00
evazion
1b30b71a07
posts: refactor post previews to use ViewComponent.
...
Refactor the post preview html to use the ViewComponent framework. This
lets us encapsulate all the HTML, CSS, and helper methods for a UI
component in a single place.
See https://viewcomponent.org .
2021-01-14 21:17:57 -06:00
evazion
4cb39422b2
post replacements: rename <attr>_was to old_<attr>
...
Rename the following post replacement attributes:
* file_size_was -> old_file_size
* file_ext_was -> old_file_ext
* image_width_was -> old_image_width
* image_height_was -> old_image_height
* md5_was -> old_md5
In Rails 6.1, having attributes named `file_size` and `file_size_was` on
the same model breaks things because it conflicts with Rails' dirty
attribute tracking.
2020-12-19 14:26:07 -06:00
evazion
20f8a26709
tests: fix rails 2.7 keyword parameter deprecation warnings.
2020-05-25 01:48:46 -05:00
BrokenEagle
63203d24cc
Standardize use of column width parameter
2020-01-13 21:21:14 +00:00
BrokenEagle
043944e1dd
Convert index tables to using table builder
2020-01-04 22:02:43 +00:00
evazion
1743f3797f
views: factor out search_form_for helper.
...
Refactor search forms to use `search_form_for` so that we can set common
options on all search forms, such as autocomplete="off" (#4162 ).
2019-09-10 14:31:19 -05:00
evazion
f151285038
views: standardize page titles.
2019-08-24 22:55:35 -05:00
evazion
fa19047220
autocomplete: add username autocompletion sitewide.
2019-08-11 15:38:39 -05:00
BrokenEagle
5d317c19dd
Add autocomplete to tags input on post replacements
2017-12-28 12:41:03 -08:00
evazion
e6acd6f2d6
/post_replacements: list old and new md5 and image sizes.
2017-12-18 18:03:03 -06:00
r888888888
51867a8c64
truncate urls on display on post replacements page #3322
2017-10-09 17:00:31 -07:00
evazion
465be6bdf5
/post_replacements: fix thumbnails of deleted posts not showing.
2017-06-26 10:25:57 -05:00
evazion
6329d089ee
post replacements: add tag match field to search form.
2017-06-22 17:03:05 -05:00
evazion
8b4e598a12
post replacements: add /post_replacements view.
2017-06-22 17:03:05 -05:00