Commit graph

71 commits

Author SHA1 Message Date
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