Commit Graph
19 Commits
Author SHA1 Message Date
silverwindandGitHub 24ad131221 Rename StaticUrlPrefix to AssetUrlPrefix (#15779)
Use a new name for this template/frontend variable to make it distinct
from the server variable StaticURLPrefix.
2021-05-08 16:27:25 +02:00
Tomás WarynycaandGitHub db4acd864f fix dingtalk icon url (#15417) 2021-04-12 15:17:57 +08:00
Kyle DandGitHub 4cd94e3689 gitea png to logo (#13974)
* gitea png to logo.svg

* gitea safari svg to logo

* minify svgs

* Update english docs

* Update missing section on customizing logo
2020-12-18 20:17:27 -05:00
silverwindandGitHub c05701dd7d Fix frontpage avatars (#13853)
The frontpage uses a rather strange method to obtain the commit's avatar
which I've overlooked earlier. I don't exactly understand how it works
but this change fixes the wrong default avatars by using the function
that was in previous use.

Also introduced a few constants for size an size increase factor.

Fixes: https://github.com/go-gitea/gitea/issues/13844
2020-12-09 01:12:15 +01:00
b1cf7f4df1 Add class to page content to unify top margin (#13766)
* Add class to page content to unify top margin

Previously pages would individually set this margin but some didn't so
content would stick to the header without any space. Resolve this by
adding a new class that is added on all pages. The only place where we
remove this margin again is on the pages with menu or wrapper in the
header.

* fix admin notices

* fix team pages

* fix loading segment on gitgraph for arc-green

* fix last missing case

Co-authored-by: techknowlogick <[email protected]>
2020-11-30 23:00:14 -05:00
dcefcc10e6 Add missing templates (#11729)
Signed-off-by: Till Faelligen <[email protected]>

Co-authored-by: techknowlogick <[email protected]>
2020-06-02 22:04:52 -04:00
Lunny XiaoandGitHub 83a8944fcf Add feishu webhook support (#10229)
Add feishu webhook support
2020-02-12 08:48:28 +00:00
Jakob AckermannandLunny Xiao 00629fea95 [assets] configurable URL for static resources (#7911)
* static url

* add cors support for static resources

* [assets] work on the migration to configurable url for assets

Signed-off-by: Jakob Ackermann <[email protected]>

* [misc] fix whitespace

Signed-off-by: Jakob Ackermann <[email protected]>

* [assets] fix the loading of the manifest.json

It is generated dynamically, and as such can not be served by the cdn.

Signed-off-by: Jakob Ackermann <[email protected]>

* Revert "add cors support for static resources"

This reverts commit 42f964fd181dbb8b139808b9be623470d4f0e40f

Signed-off-by: Jakob Ackermann <[email protected]>

* [docs] add the STATIC_URL_PREFIX option

Signed-off-by: Jakob Ackermann <[email protected]>

* [docs] reverse-proxy: nginx: add two setups for STATIC_URL_PREFIX

Signed-off-by: Jakob Ackermann <[email protected]>

* [assets] migrate the url of a new asset to the static url prefix

REF: f2a3abc683
Signed-off-by: Jakob Ackermann <[email protected]>
2019-10-22 20:11:01 +08:00
Daniel Grierandtechknowlogick b9d1fb6de3 Add support for MS Teams webhooks (#6632) 2019-04-19 10:18:06 -04:00
techknowlogickandGitHub 56da256853 Telegram webhook (#4227) 2019-04-18 22:45:02 -04:00
Lunny XiaoandGitHub 60d95a0b85 fix bugs caused by #3929 (#3999) 2018-05-23 15:23:23 +08:00
Lunny XiaoandLauris BH 10b54df2b2 Add dingtalk webhook (#2777)
* add dingtalk webhook type

* add vendor

* some fixes

* fix name check

* fix name check & improvment
2017-11-21 06:26:43 +02:00
Lunny XiaoandGitHub 796be03e9b fix discord hook bug (#2778) 2017-10-25 13:13:45 +08:00
Lunny XiaoandGitHub 04ec79579c fix orgnization webhooks (#2422)
* fix org webhooks

* remove trace code
2017-08-30 13:36:52 +08:00
Lauris BHandLunny Xiao 60d7e56c69 Add task to generate images from SVG and change to new logo (#2194)
* Add makefile task to generate images from SVG and change to new logo

* use absolute path on generate-images
2017-07-28 13:51:20 +08:00
Rémy BoulanouarandBo-Yi Wu e0c6ab2d44 Add Gitea Webhook (#1755)
* Replace Gogs by Gitea

* Fix missing changes

* Create Gitea webhook and put Gogs webhook apart.
2017-05-29 02:17:15 -05:00
Adam Strzelecki da2585c11e Indent all templates with tabs
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.

1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
   such as {{if}} {{with}}

2. Cleans all trailing white-space

3. Adds trailing last line-break to each file
2015-12-08 00:57:46 +01:00
Unknwon 4217c2333c new create webhook UI 2015-08-27 00:30:06 +08:00
Christopher Brickley 85c35a6b8b add organization-level webhooks 2014-09-05 07:19:34 -04:00