Commit graph

177 commits

Author SHA1 Message Date
wxiaoguang faa28b5a44
Move public asset files to the proper directory (#25907)
Move `public/*` to `public/assets/*`

Some old PRs (like #15219) introduced inconsistent directory system.

For example: why the local directory "public" is accessed by
`http://site/assets`? How to serve the ".well-known" files properly in
the public directory?

For convention rules, the "public" directory is widely used for the
website's root directory. It shouldn't be an exception for Gitea.

So, this PR makes the things consistent:

* `http://site/assets/foo` means `{CustomPath}/public/assets/foo`.
* `{CustomPath}/public/.well-known` and `{CustomPath}/public/robots.txt`
can be used in the future.

This PR is also a prerequisite for a clear solution for:
* #21942
* #25892 
* discourse.gitea.io: [.well-known path serving custom files behind
proxy?](https://discourse.gitea.io/t/well-known-path-serving-custom-files-behind-proxy/5445/1)

This PR is breaking for users who have custom "public" files (CSS/JS).
After getting approvals, I will update the documents.

----

## ⚠️ BREAKING ⚠️

If you have files in your "custom/public/" folder, please move them to
"custom/public/assets/".

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-07-18 18:06:43 +02:00
Lunny Xiao e79ff50560
Use the new download domain replace the old (#25405)
As title.
2023-06-21 03:11:17 +00:00
rekayno 519b91ad2d
link update in README files (#22582)
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2023-01-23 15:57:57 -05:00
Yarden Shoham b474730cf6
Refactor Gitpod configuration to improve quick spin up of automated dev environments (#21411)
This commit instructs Gitpod to run `docs` in watch mode in fresh
development environments so any dev could start hacking in seconds.

Also included some vscode extensions for Vue, Go, and Docker.


Try it here:

[![Open in
Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/yardenshoham/gitea/tree/gitpod)

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
2022-10-12 12:17:04 -04:00
Jeremy 725f9e40b3
Fix English mistakes in some Markdown documents (#20274) 2022-07-14 19:15:35 +08:00
Patrick DeVivo d228d346c4
Update TODOs badge to reflect new default branch (#18182)
* Update `TODOs` badge to reflect `main` as default branch

* update `README_ZH.md` as well
2022-01-04 10:46:32 -06:00
Richard Ulmer 87eb82cf52
Fix report card link (#16885) 2021-08-31 01:06:30 +02:00
techknowlogick ff69dfff7a
microbadger is no more, rm from readme (#16440)
* microbadger is no more, rm from readme

* Update README_ZH.md
2021-07-15 13:08:20 -04:00
Oymate ec2addc0ed
Update README.md | Add translation section (#15830)
* Update README.md

* chinese translation

Signed-off-by: a1012112796 <1012112796@qq.com>

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-05-12 11:02:55 -04:00
techknowlogick ab77a24f18
update branch in CI and docs (#15631) 2021-05-04 12:16:23 -04:00
Kyle D 920c0bde2d
Kd/add bountysource (#14323)
* Add bountysource to Sponsors link

* Add badge to readme
2021-01-13 10:53:17 -05:00
silverwind 1bf7d71a0a
Consolidate Logos and update README header (#14136)
* Consolidate Logos and update README header

- Remove unused `logo-lg.png`, `logo-sm.png` and `logo-192.png`.
- Consolidate `favicon.svg` and `logo.svg` to just `logo.svg`.
- Remove Safari Mask icon, it seems to work fine with just `favicon.png` (no SVG support).
- Remove Fluid Icon. It only served Firefox and SVG works just fine there.
- Update customization instructions.
- Update README.md to use SVG icon, increase logo size and center it and badges.

* Update README_ZH.md

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>

* Update README_ZH.md

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-01-01 14:04:35 -05:00
6543 fa3381610c
update discord link (#10455) 2020-02-25 12:36:45 -05:00
6543 8d8aecd3cf README: Update Screenshots and Badges in ZH (#8813)
* use relative instead of absolute paths

* update badges of ZH readme

* update screenshots

* use <style> for table

* remove useles stype

* absolute paths for images
2019-11-04 19:12:58 -05:00
6543 1fe81bc22e add crowdin badge (#8447) 2019-10-09 22:16:58 -04:00
guillep2k 1b96c4a471 Fix backers badge (#8399) 2019-10-07 22:51:54 +03:00
6543 08e0d4b114 README: add License shield (#8235) 2019-09-19 10:01:38 +08:00
John Olheiser c5f9c04186 Fixes for README_ZH (#7506) 2019-07-18 09:38:47 +08:00
Songlin Yang d27bf72530 docs(*): fix codecov bad links in README_ZH (#6850) 2019-05-05 12:46:32 +03:00
vz e9dbfc70b7 Move README_ZH.md Screenshots to Bottom (#4895)
- Move Screenshots to Bottom
2018-09-09 12:13:48 +08:00
Tosone b1ad5734c6 Add whitespace between chinese characters and english characters. (#4731)
Signed-off-by: Tosone <i@tosiney.com>
2018-08-17 09:26:00 +08:00
Morgan Bazalgette 6be7387ffb Fix release tag on README (#3945) 2018-05-10 23:38:57 +03:00
Lunny Xiao 071ca771fd Add opencollective badges on READMEs (#3808) 2018-04-17 17:10:34 +08:00
Lunny Xiao 84498301ca update screenshots on README (#2910) 2017-11-14 13:23:55 +02:00
Jonas Östanbäck cc5484de10 Update links to Discord server 2017-06-11 19:42:08 +02:00
Bo-Yi Wu 446a41d595 [ci skip] update discord badge. (#1930)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-10 21:38:00 +08:00
Lunny Xiao 65b6301ea2 Change join chat from gitter to discord (#1929) 2017-06-10 07:40:56 -05:00
Jonas 9a9f8fa25b Fix broken table layout (#1344) 2017-03-21 09:44:59 +08:00
Philip Couling dce03c19cb Changed README to refer to https images only (#675) 2017-01-15 21:31:34 +08:00
Lunny Xiao b0c6217c4d Fix broken godoc link and add arch in English README (#463)
* fix broken godoc link and add arch in English README

* typo
2016-12-23 22:57:18 +08:00
Lunny Xiao eaa7b3c3f5 update zh readme (#462) 2016-12-23 22:39:24 +08:00
Lunny Xiao 2197d298cb Add Korean support (#437)
* Add Korean support

* replace Gogs to Gitea
2016-12-21 15:47:26 +01:00
Lunny Xiao 8559d6f267 add ZH readme (#405) 2016-12-19 21:30:52 +08:00
Thomas Boerger 03902bb53d Minor cleanups, look at the specific commits (#67)
* Dropped codebeat, we got go reportcard

* Dropped gopm file, we are using govendor

* Dropped chinese readme, this should be part of the docs

* Dropped bra config, not really used

* Dropped packager, we will provide our own packages
2016-11-04 14:27:33 -02:00
Thomas Boerger 42a744d9e6 Badges and travis testing (#40)
* Added badges to the README

* Restructured the travis config
2016-11-03 12:50:44 -02:00
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
Unknwon 7e15ff9486
Update locales
Add new locale Serbian (Cyrillic)
2016-09-15 20:03:36 -04:00
Unknwon 5e89485cec Update README [CI SKIP] 2016-08-15 02:12:18 -07:00
Unknwon 99385db0c4 #3320 code cleanup 2016-08-07 11:01:47 -07:00
rugk 28dc5bb566 Replace gogs.io http links with https version (#3386) 2016-08-05 17:35:40 -07:00
Unknwon d90acacd86 Update README [CI SKIP] 2016-07-23 19:22:43 +08:00
Unknwon fbf43c31e5 Add Czech support 2016-05-11 12:00:47 -04:00
Julien Reichardt 6be9a2c1db Add DPlatform as an installation way (#3044) 2016-05-06 19:44:05 -04:00
Unknwon 7049cb9d97 Add new language support
- Update language choose dropdown to fit more languages
2016-04-25 13:40:23 -04:00
Unknwon db4da7beec Add APIContext 2016-03-13 17:37:44 -04:00
Unknwon c18f67ac6a Add Finnish support 2016-03-05 21:13:04 -05:00
Unknwon d320915ad2 Minor fix for #2710 2016-02-27 11:31:24 -05:00
Unknwon de3be370f7 Remove unused tests
Module httplib will be replaced a well done third-party package
soon, so remove its unused tests
2016-02-13 18:11:15 -05:00
Unknwon 5258ee3740 Update locales and update sponsor 2016-02-11 13:34:21 -05:00
Unknwon d4583ebd4b Add YunoHost link to README 2016-02-05 10:19:37 -05:00