Commit Graph
10494 Commits
Author SHA1 Message Date
nonamethanks 08234c496d Fix url fields in forms not having the same length as other text inputs 2021-08-26 13:32:16 +02:00
evazion 8f24e789b6 newrelic: fix crash during bootup caused by Rails.logger.
Using `Rails.logger` here causes server boot to fail with a `Undefined
method 'tagged'` error, possibly because `Rails.logger` isn't ready yet
during early initialization.
2021-08-15 02:16:57 -05:00
nonamethanks 0ddac45160 Mass updates: make the destination search clickable 2021-08-15 02:16:57 -05:00
nonamethanks f60fce614b Fix lofter strategy due to changes in their image urls 2021-08-15 02:16:57 -05:00
Seedgou 35c9eff5bc fix ruffle-mirror version 2021-08-15 02:16:57 -05:00
nonamethanks 2a13667422 Tag nuke: remove implications to a tag before nuking it 2021-08-15 02:16:57 -05:00
nonamethanks 539af4421d IQDB direct url lookup: send the thumbnail instead of the full size 2021-08-15 02:16:57 -05:00
nonamethanks d469b87ae2 Fix link to rest of user's post disapprovals 2021-08-15 02:16:57 -05:00
nonamethanks bb4bdefc23 Lofter: add support for another theme 2021-08-15 02:16:56 -05:00
nonamethanks 716b9a5b88 Add utility links to user events from user page 2021-08-15 02:16:56 -05:00
nonamethanks dddf21df92 Fix broken link to howto:pools in /pools/new 2021-08-15 02:16:56 -05:00
nonamethanks b4b80b9618 Forum link search: also include BURs 2021-08-15 02:16:56 -05:00
nonamethanks 606b311841 Fix skeb strategy 2021-08-15 02:16:56 -05:00
nonamethanks 3f4174a917 Favgroups: only add shortcuts for first 10 groups 2021-08-15 02:16:56 -05:00
nonamethanks bea03b7dc6 Upload page: show artist tag if it exists even if artist_name is empty in source 2021-08-15 02:16:56 -05:00
nonamethanks e9d845e7cc Update site map 2021-08-15 02:16:56 -05:00
evazion d2f6763a42 Merge pull request #4833 from nottalulah/master
make appeals editable
2021-07-10 02:26:36 -05:00
Lily 8d49d35ab1 make appeals editable 2021-06-29 14:43:27 -03:00
evazion 4b6e706e5e Fix #4603: Total Upload Limit Being Reduced After A Failed Appeal 2021-06-28 06:04:14 -05:00
evazion 000653d840 Parse and log user agent type to NewRelic.
Parse the user agent and log whether it seems like a known bot or a
human to NewRelic under the `user.bot` request attribute. This is so
that known bots can be filtered out of search traffic analytics. Bots
and search crawlers make up a significant portion of search traffic.
2021-06-28 05:09:34 -05:00
evazion ad4c75eb1a docs add more docs to app/{jobs,logical}.
These were missed in the last commit.
2021-06-28 05:09:19 -05:00
evazion fef5f238a5 Fix #4829: DanbooruBot not properly handling BUR aliases when target tag has a wiki. 2021-06-27 17:56:10 -05:00
evazion 10ddbae07b posts: change video_with_sound tag to sound.
The `video_with_sound` tag was aliased to `sound`. Fix the autotagger
and the thumbnail icon.

https://danbooru.donmai.us/forum_topics/18818
2021-06-27 05:21:38 -05:00
evazion 0563ca3001 docs: document config/ and some directories in app/.
* Add README files to several directories in app/ giving a brief
  overview of some parts of Danbooru's architecture.
* Add documentation for files in config/.
2021-06-27 05:21:38 -05:00
Thayol b9068b8a3e Fix #4435: Search: wildcards with no matches should return no results 2021-06-24 04:04:13 -05:00
evazion 82e63dc94a Merge pull request #4819 from nonamethanks/bookmarklet-text
Fix text in batch bookmarklet
2021-06-24 03:59:30 -05:00
evazion 89905aa658 Merge pull request #4824 from nonamethanks/add-forum-link
Posts sidebar: add link to tag discussions in forums
2021-06-24 03:58:29 -05:00
evazion 0c06bb9e5c Merge pull request #4823 from nonamethanks/quote-disapproval-reasons
Quote different disapproval reasons to separate them
2021-06-24 03:53:43 -05:00
evazion 0bf60b3a53 Merge pull request #4826 from nonamethanks/add-disapproval-includes
Add post disapprovals to available includes
2021-06-24 03:52:45 -05:00
evazion 0ff107831e Merge pull request #4822 from nonamethanks/disallow-swf
Upload page: disallow swf uploads in javascript too
2021-06-24 03:50:50 -05:00
evazion 00ca7526bb docs: add remaining docs for classes in app/logical. 2021-06-24 01:31:41 -05:00
evazion c6855261fe gems: update activerecord-hierarchical_query gem.
The bug that blocked Rails 6.1 support was finally fixed upstream.
2021-06-23 06:23:29 -05:00
evazion 7fab2231c0 Update Ruby gems and Yarn packages. 2021-06-23 06:23:29 -05:00
evazion d482b87a9e docs: fix outdated link in dtext help.
`kaga_(kantai_collection)` was aliased to `kaga_(kancolle)`.
2021-06-23 06:23:29 -05:00
evazion ed302fdf4d docs: add documentation for various classes in app/logical. 2021-06-23 06:23:29 -05:00
evazion e5cfb7904c CurrentUser: remove #as method.
Replace with CurrentUser#scoped.
2021-06-22 23:39:30 -05:00
nonamethanks b7c73d7c9d Add post disapprovals to available includes 2021-06-21 21:12:00 +02:00
nonamethanks 66e6d235c1 Posts sidebar: add link to tag discussions in forums 2021-06-21 16:42:38 +02:00
nonamethanks 6f78bae7c6 Quote different disapproval reasons to separate them 2021-06-21 14:09:06 +02:00
nonamethanks 89c14717ec Upload page: disallow swf uploads in javascript too 2021-06-21 03:32:16 +02:00
evazion 7f0edc32dd html: fix incorrect self-closing tags.
`<img/>` is incorrect in html5.
2021-06-19 19:23:54 -05:00
nonamethanks 09f671fb72 Fix text in batch bookmarklet 2021-06-19 17:01:05 +02:00
evazion 7de862deb2 test: fix random ip ban test failure.
Fix IP ban tests randomly failing because the randomly generated IP was
for a private network, which caused validation to fail.
2021-06-17 05:06:40 -05:00
evazion 8af946a49d tests: fix duplicate PostVersionTest class.
Fix `PostVersionTest` being defined in two different places, which broke
the test runner if you tried to run the system tests at the same time as
the regular tests.
2021-06-17 04:58:17 -05:00
evazion 3c79888610 Update Ruby gems and Yarn packages. 2021-06-17 04:56:42 -05:00
evazion 07e23204b6 rubocop: fix various Rubocop warnings. 2021-06-17 04:17:53 -05:00
evazion cfe471e0b5 gems: don't require Rubocop in Gemfile.
Requiring isn't necessary because it's a standalone tool, not a library.
2021-06-17 04:17:53 -05:00
evazion 9b59ba780b gems: add solargraph gem
Add the Solargraph gem to enable Ruby language integration for
supporting text editors.

This enables various features, including code completion, inline
documentation, type checking, syntax checking, linting, and jump to
definition/references.

Usage:

  Install Solargraph extension for your editor (see https://solargraph.org/guides)
  Run `bin/solargraph download-core` to install core Ruby language docs.
  Run `bin/solargraph bundle` to install Ruby gem docs.

See also:

* https://github.com/castwide/solargraph
* https://solargraph.org/guides/getting-started
* https://marketplace.visualstudio.com/items?itemName=castwide.solargraph
2021-06-17 04:10:26 -05:00
Thayol 6e2a5c6dde Mobile uncropped thumbnails: Fix sizing and overflow (#4818)
Fix #4460: Disabling cropped thumbnails is broken #4460

* Change width/height to max-width/max-height
* Change for cropped too
2021-06-17 04:09:20 -05:00
evazion 94d78d74a9 Merge pull request #4812 from nonamethanks/reorder-feedback-type
Reorder feedback type dropdown search
2021-06-17 04:01:54 -05:00