Yarden Shoham
a7299bbb8d
ui: remove useless "Cancel" buttons ( #7192 )
...
Co-authored-by: Joe Chen <jc@unknwon.io>
2022-10-22 23:00:42 +08:00
Joe Chen
ce25881c88
refactor(db): move some methods off `user.go` ( #7199 )
2022-10-22 20:01:38 +08:00
Achilleas Koutsou
c4360747a3
repo: support unlisted but publicly accessible repositories ( #6176 )
...
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
2020-09-04 03:04:22 +08:00
cezar97
87b229d280
templates: add 'rel=noopener noreferrer' to <a> tags ( #5319 )
...
Signed-off-by: cezar97 <cezar97@protonmail.com>
2018-07-02 19:33:14 +08:00
Unknwon
dfd494c113
repo: minor improve for PR #5219 and support UTF-8 byte count
2018-06-11 21:06:24 +08:00
Sergey Dryabzhinsky
57897cc8c2
repo: update repository description field to contain more than 256 symbols ( #5219 )
...
* Update repository description field to contain more than 256 symbols
- update repository model - description field now is `TEXT` and limited by 4000 symbols
- new migration
- add description to html forms - repo creation and repo settings
- add translation for description
* Update for description field, new features
- add autosize (height) for description textarea, new plugin
- set max description length to 512 symbols
- update locales
* Fix migration - typo in var
* Update repo description behaviour
- add textarea autosize for /repo/create
- add symbols counter under description testarea (create/edit)
* Fix function definition - it a var
* Revert ru-RU locale
* Update by review
- Use type `varchar(512)` in migration
- Remove unused files from autosize plugin
* Fix migration - new project paths
* Fixes after review 2
- copyright year
- format includes
- use switch instead of multi-if
* Remove unused `default:` option.
2018-06-11 20:34:26 +08:00
Unknwon
ac43eab51f
Refactoring: rename Signed -> Logged
2017-04-06 23:48:49 -04:00
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
2017-04-06 17:27:57 -04:00
Unknwon
2c404daca6
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
2017-04-06 17:20:38 -04:00
Unknwon
b06f299748
webhook: add fork event
2017-02-27 22:48:18 -05:00
Unknwon
9e8a8867ea
#3325 use correct word for .gitignore
2016-08-09 12:16:21 -07:00
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
2016-08-05 12:12:54 -07:00
Unknwon
1f2e173a74
Refactor User.Id to User.ID
2016-07-24 01:08:22 +08: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
52c8f69163
fix #650
2015-11-22 01:32:09 -05:00
Unknwon
f04d773f4f
UI: long organization name in create repository owner list
2015-11-18 17:42:20 -05:00
Unknwon
022820103d
#1657 allow forcing all private repos
2015-10-25 04:26:26 -04:00
Unknwon
cc83043edc
minor fix on template
2015-09-07 14:02:09 -04:00
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
2015-09-01 11:43:53 -04:00
Unknwon
9ef063cbb0
change checkbox ui
2015-08-29 15:49:14 +08:00
Unknwon
55ddf225bb
webhook APIs
2015-08-29 11:49:59 +08:00
Unknwon
c7a4369db9
add readme template help link
2015-08-28 19:23:02 +08:00
Unknwon
bb3b90fcd6
#1487 Readme Template
2015-08-28 18:33:09 +08:00
Unknwon
46bee50e45
complate list of gitignores and licenses
2015-08-28 16:44:04 +08:00
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
2014-12-12 20:30:32 -05:00
Unknwon
7ba9257a7f
Add suburl support
2014-09-19 20:11:34 -04:00
Martin van Beurden
0055cbd365
Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
...
Conflicts:
modules/setting/setting.go
Conflicts:
templates/repo/release/list.tmpl
templates/user/dashboard/dashboard.tmpl
Conflicts:
routers/repo/setting.go
2014-09-18 20:50:48 +02:00
Unknwon
bba707de36
Finish team list, create new team, join/leave team page
2014-08-16 16:21:17 +08:00
Unknwon
5fbf8531e6
Finish new home page of organization
2014-08-10 20:11:18 -07:00
Unknwon
9a1d5d2489
Finish new web hook pages
2014-08-09 15:40:10 -07:00
Unknwon
755eec745f
Finish new repo settings page
2014-08-02 13:47:33 -04:00
Unknwon
dabf5b057c
Finish new migrate page
2014-08-01 00:06:19 -04:00
Unknwon
9813161411
Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page
2014-07-26 23:53:16 -04:00
Unknwon
8dd07c0ddd
New UI merge in progress
2014-07-26 00:24:27 -04:00
Unknown
5dbfe3c26c
Finish organization homepage
2014-06-28 15:43:25 -04:00
Unknown
43b33440b5
Work on create organization repo and #257
2014-06-25 05:14:36 -04:00
fuxiaohei
72ba273cc9
select owner when creating repository
2014-06-25 16:03:29 +08:00
Unknown
4cf7a1fca5
Mirror update on create repo page
2014-06-25 03:55:59 -04:00
fuxiaohei
80be060735
select owner when creating repository
2014-06-25 13:08:28 +08:00
Unknown
8e6c254c03
Mirror fix on create repo
2014-06-25 00:53:45 -04:00
fuxiaohei
cc703ee663
select owner when creating repository
2014-06-25 12:22:08 +08:00
Unknown
7d656ee2e3
Update docs
2014-04-15 15:34:26 -04:00
Unknown
33aa4f7438
Support private repo
2014-04-11 21:47:39 -04:00
Unknown
8980675a9f
Fix #69
2014-04-10 18:09:57 -04:00
FuXiaoHei
2a2f025388
change css name style
2014-03-25 18:44:37 +08:00
slene
076fc98d98
add csrf check
2014-03-23 01:44:02 +08:00
Unknown
828c89de99
Clean code
2014-03-16 02:28:24 -04:00
Unknown
fdc4151ff3
Finish create repo
2014-03-11 01:32:36 -04:00
FuXiaoHei
63d2f74c21
begin dashboard ui
2014-03-11 12:49:09 +08:00
Unknown
76ce6f9848
Update repo.Create
2014-03-08 21:25:38 -05:00