Commit graph

130 commits

Author SHA1 Message Date
86751ae2ea
replace time.php into redirect
Summary:
D110 made this obsolete; redirect to `https://revi.xyz/time`.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: k.revi.xyz/time.php > 302 revi.xyz/time

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D119
2024-05-21 15:44:48 +09:00
7c443bcca5
time.php: add note about time notation
Summary:
Clarify it is 24h notation, and people should expect 0-12h to take it as such.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: load the diff, and view from firefox.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D87
2024-05-14 21:32:58 +00:00
08863ae041 time.php: add DOCTYPE
Summary:
`<!DOCTYPE html>`, a good thing to do ™️.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: load the page in browser.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D82
2024-05-13 20:02:48 +09:00
d75d8cf807
.arclint: more rules, exclusions
Summary:
Probably standard changes (tm) at this point.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc lint`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D79
2024-05-12 19:02:50 +09:00
467eb9b2d1
robotstxt: just use *
Summary:
Fixes T138. Seems like Google doesn't care.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Try http://go/google/search w/ updated robots.txt entries

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Maniphest Tasks: T138

Differential Revision: https://issuetracker.revi.xyz/D75
2024-05-11 17:29:11 +09:00
a257d3ccb4
robots.txt: shorten some links
Summary:
Less size /shrug

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: try visiting URLs to test redirection

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D66
2024-05-10 18:19:11 +09:00
1fc290faa5
wikiassets: rename global.(css|js) to nonwmf.(css|js)
Summary:
Plan is to also migrate go/wiki/m/User:-revi/global.(css|js) to here as well.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Load from jsdelivr.

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D21
2024-05-04 17:47:11 +09:00
1df5ac5ff6
wikiassets: Add repo
Summary:
Just use jsdelivr

Bug: Fixes T130
Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Test after merge

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Maniphest Tasks: T130

Differential Revision: https://issuetracker.revi.xyz/D19
2024-05-04 17:41:49 +09:00
d45c16bde1
meta: arclint: add few more rules
Summary:
I probably want few more rules (ie. csslint)

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc lint`

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D20
2024-05-04 17:34:01 +09:00
c628542223
Revert "RobotsTxt: specify more verbose classes"
Summary:
This reverts commit 88946a7fe2.

PHP Fatal error:  Cannot override final method PhabricatorRobotsController::processRequest() in /var/www/phorge/phorge/src/extensions/PhabricatorCustomRobotsTxtController.php on line 13

Fatal error: Cannot override final method PhabricatorRobotsController::processRequest() in /var/www/phorge/phorge/src/extensions/PhabricatorCustomRobotsTxtController.php on line 13

Signed-off-by: Yongmin Hong <revi@omglol.email>

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D10
2024-05-02 19:56:13 +09:00
88946a7fe2
RobotsTxt: specify more verbose classes
Summary:
Using PhabricatorRobotsController overwrites robots.txt for blogs, URL shortener, and CDN domains. Using [PhabricatorRobotsPlatformController](https://we.phorge.it/book/dev/class/PhabricatorRobotsPlatformController/) should fix it.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Reload personal-phorge.revicdn.net/robots.txt and it is not verbatim copy of issuetracker.revi.xyz/robots.txt

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D9
2024-05-02 19:48:19 +09:00
0e1656da0c
meta: various changes
Summary:
Submitting three changes at once for lazyness:

meta: config cleanups

  Add editorconfig, gitignore, and conform to them.

RobotsTxt: add differential rule and conform to the editorconfig

time.php: add metadata, editorconfig conformance

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `code .` and edit files. for php files, deploy.

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D8
2024-05-02 19:30:12 +09:00
d2f7806542
meta: Add .arcconfig
Summary: Either Phab differential or Gerrit (to be installed) but not sure what to use.

Test Plan: `arc patch`, verify lint works and connects to this instance.

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D7
2024-05-02 18:28:21 +09:00
893232347d
Fix html
Forgot this...

Bug: N/A
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-30 18:28:51 +09:00
ae366fa167
Update
Add monospace font, no-cache, fuck Chrome ads, and omglol stuff.
Also wrap <p> around texts, and split non-php texts out of php codes.

Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-30 18:27:26 +09:00
09470b6a92
RobotsTxt: update lastModified
Bug: N/A
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-30 03:27:53 +09:00
6b530af898
RobotsTxt: remove duplicate
Turns out /file is already listed...

Bug: N/A
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-30 03:24:41 +09:00
bc577f0632
phabExt: add lastModified time and few more rules
Should figure out how to disable set-cookie to enable Cloudflare
cache...

Bug: N/A
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-29 18:02:07 +09:00
1d0d4732d1
add notes about ISO 8601
Bug: N/A
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-28 22:42:16 +09:00
9497414b6d
time.php: new file
Product of 'Not feeling like goin to bed' at 4am.

Bug: Ref T109
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-28 06:16:56 +09:00
59fb26f299
PhabExt: add more domains
More LLM domains
Source: https://darkvisitors.com/docs/set-up-a-robots-txt

Bug: N/A
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-21 04:36:07 +09:00
383155f51d
actions: php quick syntax check
cf. https://we.phorge.it/book/phorge/article/configuring_preamble/

Bug: N/A
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-20 18:04:53 +09:00
683a11ca27
RobotsTxt: fix another typo
It's probably high time that I go to bed.

Bug: N/A
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-17 01:50:42 +09:00
1df92aac36
RobotsTxt: fix typo
And remove redundant rule.

Bug: N/A
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-17 01:42:05 +09:00
cb20e4d795
RobotsTxt: add more rules
Interest of nobody.

Bug: N/A
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-17 01:35:10 +09:00
c4eb4aba4e
RobotsTxt: fix comment error
Whoopsie.

Bug: Ref T43
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-16 21:17:47 +09:00
b931e41135
meta: add metadata
Blah blah

Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-16 21:17:24 +09:00
63d76fd42d
license: fix
Why was this empty? LOL

Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-16 21:06:12 +09:00
70cbb7ccd8
phab-ext: test
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-16 21:04:16 +09:00
11f02e587f
initial commit
Yet another sandbox.

Bug: N/A
Signed-off-by: Yongmin Hong <revi@omglol.email>
2024-04-15 19:14:13 +09:00