Commit Graph

104 Commits

Author SHA1 Message Date
evazion
38e814ddff assets: fix permissions for static images.
Remove execute permission for static images in public/images/.
2021-09-12 10:17:38 -05:00
evazion
c7fda2772f posts: fix rare bug with first post.
Fix a rare bug that occurs once per year that causes post 1 to appear
insufficiently festive.
2021-05-23 06:33:29 -05:00
evazion
1716cc5bf9 artists: add more artist url icons. 2021-03-08 01:30:02 -06:00
evazion
7b60a476e5 sources: add artist profile links to fetch source data box.
Add site icons linking to all the artist's sites in the fetch source
data box.

Some artist entries have a large number of URLs. Various heuristics are
applied to try to present the most useful URLs first. Dead URLs and
redundant URLs (Pixiv stacc and Twitter intent URLs) are filtered out.
Remaining URLs are sorted first by site (to put sites like Pixiv and
Twitter first), then by URL (to break ties when an artist has multiple
accounts on the same site).

Some sites have shitty hard-to-read icons. It can't be helped. The icons
are the official favicons of each site.
2021-02-26 01:24:30 -06:00
evazion
d24275c51c Merge pull request #4622 from BrokenEagle/add-childlike-font
Add childlike font
2021-01-04 01:29:25 -06:00
evazion
1d15ce2bcd Remove Danbooru Winter Sale. 2021-01-01 04:16:38 -06:00
evazion
fd18291382 Add Danbooru Winter Sale. 2020-12-25 06:07:21 -06:00
evazion
c17678d509 routes: add a new 404 page.
* Fix a bug where non-GET 404 requests weren't handled.
* Fix a bug where non-HTML 404 requests weren't handled.
* Show a random image from a specified pool on the 404 page.
2020-12-24 00:17:35 -06:00
BrokenEagle
2ae912a8be Add childlike font 2020-11-14 18:00:08 +00:00
evazion
6b7cd7b972 posts: update tag counter icons. 2020-08-02 18:33:47 -05:00
evazion
b6b0218e1d seo: update JSON-LD site metadata.
* Add the Danbooru logo and social media links to the Organization data.
  This is to make Danbooru eligible for Google's knowledge panel ([1], [2]).
* Only include this metadata on the frontpage as per Google's recommendations ([3]).

[1]: https://support.google.com/knowledgepanel/answer/9163198
[2], https://developers.google.com/search/docs/data-types/logo
[3]: https://developers.google.com/search/docs/data-types/sitelinks-searchbox
2020-07-03 18:18:35 -05:00
evazion
26d6e23377 Fix #4425: Add Danbooru Discord server prominently
* Add Discord, Twitter, and Github links to site footer.
* Remove "Desktop mode" and "Keyboard shortcuts" links from footer.
  Users can use the desktop site option in their browser to switch
  between desktop and mobile mode.
* Remove git hash from footer. Users can hover over the Github logo to
  see the hash instead.
2020-05-08 17:14:22 -05:00
evazion
eab413199c Add Discord widget to maintenance page. 2020-05-04 17:54:14 -05:00
evazion
74d77c1e23 Update robots.txt.
* Generate /robots.txt dynamically.
* Include link to sitemap.
* Update list of allowed urls.
* Disallow crawling of non-canonical subdomains.
2020-01-31 02:43:07 -06:00
BrokenEagle
4c6d3a5608 Added scary font 2020-01-01 03:06:40 +00:00
evazion
72f17fd1de Fix #3534: Remove Janitor Trials. 2019-11-17 02:10:24 -06:00
evazion
13f26c81d8 Remove unused files. 2019-11-15 23:59:56 -06:00
evazion
bc34fb16a4 tags: automatically fix incorrect tag counts during maintenance.
* Automatically fix all tags with incorrect counts during daily
  maintenance (previously only tags with negative counts were fixed).
* Log fixed tags to NewRelic.
* Remove the ability to manually fix tag counts with the "Fix" button on
  the /tags listing. This is no longer necessary now that tags are
  fixed automatically.
2019-09-25 17:57:11 -05:00
Albert Yi
3f740234bb exclude artists in robots.txt 2018-10-24 10:44:15 -07:00
Albert Yi
6ca9b65716 add dynamic sitemap.xml 2018-10-11 10:13:54 -07:00
Albert Yi
1a1d74d1ca add diff link on wiki page versions (#1622) 2018-09-17 17:36:46 -07:00
anonbl
bf6e3f6cae Added Twitter widget
Added a Twitter widget instead of a link
2018-08-05 02:38:59 +03:00
r888888888
31e36cf9eb remove unused mobile layouts 2017-11-17 13:59:14 -08:00
r888888888
e70c2a3085 remove references to tag subscriptions 2017-11-17 13:45:17 -08:00
r888888888
aff81bb9ed change maintenance twitter account 2017-10-26 11:08:31 -07:00
r888888888
e547c82254 update sitemap 2017-04-18 17:30:24 -07:00
Albert Yi
3eaa4cb0f1 update sitemap.xml 2016-12-28 11:05:33 -08:00
r888888888
01eac1e587 update sitemap 2016-02-11 11:48:55 -08:00
r888888888
2dd4b4cbff add schema.org metatags 2016-02-09 14:02:47 -08:00
r888888888
e04a62b962 more crawler constraints 2016-02-05 14:17:26 -08:00
r888888888
504674b288 add rel=nofollow in more places 2016-02-03 23:47:17 -08:00
r888888888
fae5e11012 modify robots.txt to exclude artists/new 2015-12-28 12:32:57 -08:00
r888888888
7b1419c67e fix iqdb query path error 2014-06-02 13:46:33 -07:00
r888888888
01d744d3a7 add sitemap 2013-12-03 17:40:20 -08:00
r888888888
7b50531778 updated robots.txt 2013-12-03 17:34:15 -08:00
r888888888
d4007e8093 potential fix for #1769, add missing jquery ui icons 2013-06-19 12:56:21 -07:00
r888888888
d5f575159f rename references of privileged to gold 2013-04-28 00:04:52 -07:00
r888888888
a4e57e93f3 remove cached tags.json 2013-04-14 18:28:23 -07:00
ghostrigger
103c265b41 Update maintenance.html.bak
updated twitter link courtesy of @mseymour for https://github.com/r888888888/danbooru/issues/776
2013-04-03 00:30:19 +08:00
albert
fc32a0023c add weekly maintenance script 2013-03-31 14:11:48 -04:00
albert
2549009834 fixes #776 2013-03-06 20:16:40 -05:00
albert
16c92c045a add favicon 2013-02-19 22:18:11 -05:00
albert
7817e571c3 fixes #398 2013-02-19 14:00:27 -05:00
albert
585f2ea839 stub files for apple 2013-02-19 11:49:48 -05:00
albert
ae9c7164e4 remove ads directory 2013-01-06 17:16:01 -05:00
albert
b43c096116 added jlist rss ads 2013-01-05 22:51:00 -05:00
albert
49778758b9 updated advertisement test 2012-05-11 17:09:18 -04:00
albert
e534a06680 new 404/500 pages 2012-01-13 19:02:39 -05:00
albert
4135fb2f8c Fixes #216 2012-01-06 19:13:54 -05:00
0xCCBA696
8f4a94d9a9 Fix HTML to pass validation 2012-01-04 19:12:41 +08:00