Commit Graph

766 Commits (8a39d529d03facf9440f3d13507ddb0d22ebbc27)

Author SHA1 Message Date
Unknwon 992ea5802a
locale: sync from Crowdin 2018-06-18 12:21:51 +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 91441c3fb2
locale: sync from Crowdin 2018-06-05 07:31:34 +08:00
Unknwon c08aab90ec
models/mirror: shot push webhook after synced commits (#4528) 2018-06-03 20:32:44 +08:00
Unknwon 775919c129
mirror: show sync feeds on dashboard (#2017) 2018-05-30 21:26:03 +08:00
Unknwon 01ccc2cc96
security: prevent same passcode from being reused
Reported by @cezar97.
2018-05-21 14:24:06 +08:00
Unknwon 2fabcd0455
locale: sync from Crowdin 2018-05-02 20:46:54 -04:00
Unknwon f439df4441
locale: sync from Crowdin 2018-04-25 13:50:48 -04:00
Changwoo Ryu eac5b48da0 locale: Add myself to TRANSLATORS (#5177) 2018-04-18 11:09:38 -04:00
Unknwon e6af6487e1
locale: sync from Crowdin
Add Vietnamese
2018-04-16 17:48:23 -04:00
Unknwon f2ecfdc96a
auth: support authentication source config file (#3142) 2018-04-12 09:55:58 -04:00
Unknwon 717d409b72
templates/admin/auth/list: rename list title 2018-04-11 19:39:17 -04:00
Unknwon b69294b6d6
locale: sync from Crowdin 2018-04-09 12:38:39 -04:00
Unknwon 0152e12172
locale: sync from Crowdin 2018-03-30 23:19:20 -04:00
Unknwon 17d789a785
pkg/mailer: support custom mail subject prefix (#4524) 2018-03-30 03:52:23 -04:00
Unknwon 63a263f542
templates/admin/config: show SSH.StartBuiltinServer 2018-03-30 01:42:35 -04:00
Unknwon d7280f82ac
locale: sync from Crowdin 2018-03-12 09:23:29 -04:00
Flávio Monteiro f3e8352193 locale: update TRANSLATORS (#4908) 2018-03-06 16:37:28 -05:00
Unknwon ade8aab43f
locale: sync from Crowdin
Added Indonesian and Persian
2018-03-05 04:37:44 -05:00
Unknwon 6f2347fc71
locale: sync from Crowdin
Fixes #4811
2017-11-22 14:46:14 -05:00
Unknwon 51e0eef11e
locale: sync from Crowdin 2017-11-18 01:27:56 -05:00
33MHz 339fd9c5a4 locale: fix English grammar for delete repository dialog (#4862)
* fix typo in en-US delete dialog

* fix typo in en-GB delete dialog

* improve en-GB delete dialog language

* improve en-US delete dialog language
2017-11-18 00:47:20 -05:00
Unknwon 3b8b8a2ee3
pull_request: able to ignore whitespace when check conflict (#4834) 2017-11-16 22:22:38 -05:00
Unknwon 6f04ee879c
auth/ldap: allow placeholder %s for BindDN (#2526) 2017-11-16 19:32:33 -05:00
Unknwon e1e76d3f88
admin/config: add UI for [http] section (#3987) 2017-11-16 19:03:46 -05:00
Mohammad Gholami ae4c4708ad locale: update TRANSLATORS (#4866)
Crowdin contributor
2017-11-15 23:45:24 -05:00
Unknwon 34c2e52bd5
repo/pull: allow rebase before merging (#4805) 2017-11-15 23:28:31 -05:00
mharinder 5cd1fdeb9e
pull: add an option to use rebase for merging pull requests
For DVCS, either merge or rebase works for getting new code in a pull
request in the main branch.

The rebase workflow produces a linear history which is cleaner, and
more bisect-able.

This commit adds a repo-level option to enable the rebase workflow. Once
enabled, "Merge Pull Request" will be replaced by
"Rebase and Merge Pull Request" which does exactly what the user wants.
It's unlikely a project wants a mixed-use of both rebase and merge
workflows, therefore the feature is not implemented as a drop-down
button like what GitHub does
(https://github.com/blog/2243-rebase-and-merge-pull-requests).
2017-11-15 23:28:23 -05:00
Unknwon 9b4054f1fc
locale: sync from Crowdin 2017-11-05 23:59:12 -05:00
Unknwon c1507eda45
locale: sync from Crowdin 2017-10-14 04:19:24 -04:00
Unknwon 1b24e6ed76
locale: sync from Crowdin 2017-09-25 20:29:10 -04:00
Athurg Feng 52f3833811 Add Dingtalk webhook support (#4773)
* Add dingtalk webhook into html template

* Add Dingtalk's icon

* Insert dingtalk into repo's webhook page template

* Insert dingtalk into org's webhook page

* Add dingtalk into default webhook config

* Add locale string for add_dingtalk_hook_desc

* Update bindata

* Add dingtalk webhook form validator

* Add dingtalk hook task

* Add dingtalk hook create handler

* Add dingtalk hook edit handler

* Add dingtalk router

* Add dingtalk webhook task skeleton

* Add markdown link formatter

* Add Dingtalk ActionCard create wrapper

* Add support for dingtalk create event payload

* Add support for dingtalk delete event payload

* Add support for dingtalk fork event payload

* Add support for dingtalk push event payload

* Add support for dingtalk issue event payload

* Add support for dingtalk issue comment payload

* Add support for dingtalk pull event payload

* Add support for dingtalk release event payload
2017-09-21 14:32:48 -04:00
Unknwon b1100b5e34
locale: sync from Crowdin 2017-08-15 18:20:28 -04:00
Unknwon f2c3f4a944
locale: sync from Crowdin 2017-07-30 02:45:13 -04:00
Unknwon b18a2bdcd3
locale: sync from Crowdin 2017-07-14 16:48:41 -04:00
Unknwon d09eaef542
locale: sync from Crowdin 2017-07-09 21:38:11 -04:00
Unknwon ea03bee1b9
locale: sync from Crowdin 2017-06-27 14:45:10 -04:00
Unknwon f59500a90b
locale: sync from Crowdin 2017-06-20 00:10:10 -04:00
Unknwon 6197a7639a
locale: sync from Crowdin 2017-06-10 01:43:18 -04:00
Unknwon 88791089ed
locale: sync from Crowdin 2017-06-08 14:11:25 -04:00
Unknwon 36d6450977
repo/pull: detect case when no merge base found (#4434) 2017-06-05 00:10:53 -04:00
Unknwon 02a576a6a0
locale: update translations 2017-06-04 14:55:55 -04:00
Unknwon 4cb01fe332
locale: add Hungarian 2017-06-01 23:41:58 -04:00
Richard Bukovansky 1a3a303f8d locale: better explenation for team membership and granted access (#4417)
As discussed here https://crowdin.com/translate/gogs/1/enus-cs#378 I'm suggesting this update.
2017-05-29 23:25:21 -04:00
Unknwon a1d411a018
ldap: minor fix for PR #4398 2017-05-29 23:18:34 -04:00
Unknwon a5bd095c30
locale: add en-GB 2017-05-25 12:53:28 -04:00
Unknwon a11044f789
locale: sync from Crowdin 2017-05-17 18:37:25 -04:00
Benjamin 4b2bf41381 locale: added missing word and fixed a typo (#4490) 2017-05-17 18:31:02 -04:00
Unknwon 6500aafcb8
install: validate port in SMTP host address (#2243) 2017-04-07 23:23:39 -04:00
Unknwon 809db853fa
locale: fix zh-CN 2017-04-07 15:41:54 -04:00
Unknwon d0612be402
user/setting: improve UI 2017-04-07 15:08:53 -04:00
Unknwon bd1f2ccaf8
user/settings/security: add token description about 2FA 2017-04-06 16:27:31 -04:00
Unknwon a617d52374
2fa: initial support (#945) 2017-04-06 00:14:30 -04:00
Unknwon e0a787b5ee
Update locales 2017-04-05 13:26:53 -04:00
Unknwon 497cdc9250
user/setting: reorder navbar 2017-04-05 09:27:42 -04:00
Unknwon 88ae3510ff
Prepare release 2017-04-03 16:26:43 -04:00
Unknwon ab42671c63
repo: handle git.ErrUnsupportedVersion error type 2017-04-01 17:56:55 -04:00
John Behm 65bb6eb284 locale: update TRANSLATORS (#4372)
* Update TRANSLATORS

* Update TRANSLATORS
2017-03-31 12:37:46 -04:00
Unknwon ad3c6ef205
Update locales 2017-03-27 14:40:55 -04:00
Unknwon 73de9f9d6a
repo/settings/branches: add prompt for bare repository 2017-03-27 13:12:29 -04:00
Unknwon 8196430f47
repo: allow private repository to have public wiki or issues
Relates to #649 and #2157
2017-03-24 16:25:40 -04:00
Unknwon 66c1e6b0e8
user/settings: complete repositories panel (#4312) 2017-03-23 14:28:31 -04:00
Unknwon 2807274e2d
repo/webhook: able to retrigger delivery history (#2187) 2017-03-19 17:44:46 -04:00
Unknwon 2d4dc544be
install: able to enable console mode (#3119) 2017-03-17 00:16:46 -04:00
Unknwon 171f97868d
repo: allow issues and wiki for bare repository (#4104) 2017-03-16 23:10:45 -04:00
Unknwon f54bcba339
Update locales 2017-03-13 23:41:22 -04:00
Unknwon bb19bb601e
repo: able to view size (#1158) 2017-03-12 01:59:48 -05:00
Unknwon b615d670b3
webhook: add Release event (#2387) 2017-03-11 18:41:32 -05:00
Unknwon 5c7cb1594b
repo/branches: overview and all (#2310) 2017-03-11 01:43:45 -05:00
Unknwon a534f9f9b6
templates/repo: change some buttons to use 'basic' style 2017-03-10 15:36:55 -05:00
Unknwon ebc0943713
templates/repo: only show Git stats in repository home page (#3518)
Move 'Commits' and 'Releases' tabs down to body.

This patch also reduces page load time for pages that do not need
to use commits count anywhere. Get commits count can hurt
performance badly for huge repositories that has tens of thousands
commits like Linux Kernel.
2017-03-10 15:13:48 -05:00
Unknwon 89cc6aa430
webhook: add issue comment event 2017-03-09 04:11:23 -05:00
Unknwon c93731339f
webhook: support Issues event (#2319)
Also addresses #3485.
2017-03-09 00:03:29 -05:00
Unknwon 83f6b8e847
Protected branches: allow whitelist bypass require pull request check (#4207) 2017-03-08 16:43:36 -05:00
Unknwon c2f0711db0
Update locale 2017-03-06 23:37:46 -05:00
Bo-Yi Wu 00943a025f locale: update TRANSLATORS (#4224) 2017-03-02 11:37:14 -05:00
Unknwon 038b107c3d
Update locale
Also fixes #4213
2017-03-01 12:31:04 -05:00
Unknwon dd649eb4cc
admin: fix template error
Also a try to display key-value pairs in table.
2017-02-28 12:42:16 -05:00
Corentin BRETON 193cc3ba9a locale: update TRANSLATORS (#4204) 2017-02-28 07:06:12 -05:00
Unknwon b06f299748
webhook: add fork event 2017-02-27 22:48:18 -05:00
Unknwon 70072e2842
dashboard: add delete branch and tag news feeds 2017-02-27 22:47:33 -05:00
Unknwon f0086e66ae
webhook: able to detect delete branch or tag (#2315) 2017-02-27 22:47:21 -05:00
Unknwon 429345b9df
editor: fix cannot create branch with slashes (#3568) 2017-02-27 22:46:32 -05:00
Unknwon b3757e424f
Prepare release 2017-02-27 18:38:16 -05:00
Unknwon 4d90527a6e
repo: does not allow fork to original owner (#4182)
But can still fork to organizations.
2017-02-25 03:52:54 -05:00
Unknwon 10b93efc4a
repo: able to add organization member as repository collaborator 2017-02-24 13:56:02 -05:00
Unknwon 6ec859f2b0
webhook: send secret with SHA256 HMAC hex digest (#3692) 2017-02-24 12:23:19 -05:00
Unknwon 6072e9a52c
repo: add protect branch whitelist (#4177)
Add options to add users and teams to whitelist of a protected
branch. This is only available for organizational repositories.
2017-02-23 18:25:12 -05:00
Anders H e0af5c280d locale: update TRANSLATORS (#4170) 2017-02-22 06:17:08 -05:00
Argentumbolo 6a8ad0b357 locale: changes relates to Ukrainian language (#4168)
- Add Ukrainian translation into templates/home.tmpl
    - Fix Ukrainian language name in conf/app.ini
          because on Ukrainian 'language' is female.
    - Add me as translator into conf/locale/TRANSLATORS
2017-02-21 17:57:27 -05:00
Unknwon 437df04d8c
Prepare release 2017-02-21 12:17:39 -05:00
Orion ba88bb5f5f locale: update translators (#4166) 2017-02-21 09:11:44 -05:00
Oscar Quisbert 6a78580429 locale: update TRANSLATORS (#4161) 2017-02-20 21:12:29 -05:00
Óscar García Amor 491934784f locale: add new translator (#4158) 2017-02-20 13:47:38 -05:00
Unknwon 2322de653c
models/webhook: fix bad query 2017-02-20 01:04:02 -05:00
Tyler dd4d623612 Update 'disable_register_mail' verbiage (#4155) 2017-02-19 19:55:19 -05:00
Unknwon 7de71333c6
repo: several minor improvements
1. Fix sample content didn't show up when hook doesn't exist.
2. Fix CSS 'word-break' to use 'break-word' not 'break-all'.
3. Fix single quote in 'locale_en-US.ini' file.
2017-02-19 13:18:16 -05:00
Unknwon 50a7c3c20d
repo: able to fork own repository (#1791) 2017-02-18 23:04:11 -05:00
Unknwon c69900325d
commits: able to specify pageSize dynamically (#3965)
Usage: <url>?page={page}&pageSize={pageSize}

Also avoid/removed getting total commits count for pagination,
users are only allowed navigation by 'newer' and 'older'.
2017-02-18 18:37:47 -05:00
Unknwon 685737b816
locale: add Ukrainian support 2017-02-18 15:00:11 -05:00
Unknwon 1083c0cd9a
admin/config: display repository related settings (#3816) 2017-02-18 13:29:43 -05:00
Unknwon 7b8f086f72
repo/settings: add description and link to personal SSH keys (#3936) 2017-02-18 12:56:06 -05:00
Unknwon 21d538a738
install: able to enable builtin SSH server (#3773) 2017-02-18 12:47:35 -05:00
app 77757f6d39 I've got Translation Credits message from 无闻 (joe2010xtmf) (#4144) 2017-02-18 11:06:06 -05:00
Ganesha 018614cdf0 Update TRANSLATORS (#4146) 2017-02-18 11:05:44 -05:00
Jonas De Kegel 5d9680b00d Update TRANSLATORS (#4147) 2017-02-18 11:05:23 -05:00
wp-src 71f0dd858b Update TRANSLATORS (#4143) 2017-02-18 02:07:46 -05:00
火文狼 956bdb18c9 Update TRANSLATORS (#4142) 2017-02-18 01:33:20 -05:00
Unknwon a07b1f630a
webhook: add native Discord support 2017-02-18 00:54:56 -05:00
Pierre Prinetti 81e74858d8 Update TRANSLATORS (#4140) 2017-02-17 16:19:11 -05:00
Olexander Yermakov f4e714d54a Update TRANSLATORS (#4139) 2017-02-17 15:41:23 -05:00
Alexandre Espinosa Menor edccbc0481 Added myself (#4138) 2017-02-17 15:14:45 -05:00
Unknwon 7e09d210ba
Initial version of protected branches (#776)
- Able to restrict force push and deletion
- Able to restrict direct push
2017-02-17 15:10:50 -05:00
Riste Risafov dab768212a Update TRANSLATORS (#4137) 2017-02-17 14:07:43 -05:00
javydreamercsw c033cfc684 Update TRANSLATORS (#4136) 2017-02-17 14:07:28 -05:00
sergystepanov 89593a82c1 Update TRANSLATORS (#4135) 2017-02-17 13:54:06 -05:00
Unknwon 039dc33367
git: delegate all server-side Git hooks (#1623) 2017-02-14 16:22:16 -05:00
Unknwon f4aedda13a
org/team: make 'new' as reserved for team name (#3789) 2017-02-14 03:16:02 -05:00
Unknwon 23f2efa8c1
Update locales 2017-02-11 03:59:25 -05:00
Unknwon 5791e1398c
install: validate SMTP From
Invalid SMTP From will cause fatal error in post-install and exit
the program.
2017-02-11 03:29:30 -05:00
Unknwon 9b72661767
config: show Git version in admin panel 2017-02-11 03:04:45 -05:00
Unknwon 8a19f8a63c
Update locales
This patch also fixes #4073
2017-02-09 16:04:35 -05:00
Unknwon c0f25d24b2
Update locales 2017-02-05 22:42:01 -05:00
Rémy Boulanouar be3a13a0d6 Allow use to set an external tracker url and to redirect user when clicking in Issues same behavior as Wiki. (#3646) 2017-01-31 20:53:48 -05:00
Unknwon 412ba5b2a9
Prepare for release 2017-01-31 07:36:59 -05:00
Unknwon a6a3afd130
Update locales 2017-01-28 05:54:05 -05:00
Unknwon 7aa53635fe
Add 'Organizations' page to user settings (#3587)
User is now able to view full list of organizations belongs to.
2017-01-27 22:36:45 -05:00
Rémy Boulanouar 2ee0c61e62 Setting orgs (#3587)
* Implement organizations listing in setting and allow user to create new organization.

* Implement organizations listing in setting and allow user to create new organization.

* Add space remove by mistake

* Remove unused part of the template

* Update display and behavior according to @Unknown remarks
2017-01-27 22:02:27 -05:00
Unknwon ae319da5fd
Disable local path migration by default (#4033)
Site admin now has to enable manually by config option
[repository] ENABLE_LOCAL_PATH_MIGRATION = true.
Site admin always grants this permission, but regulars users have
to be allowed by site admins in admin user panel.
2017-01-26 17:43:37 -05:00
Unknwon 0d60b58434
templates/repo: rename 'Code' to 'Files' 2017-01-25 18:15:37 -05:00
Unknwon 8d5a693382
locale: remove unused locale string 2017-01-23 14:33:25 -05:00
Unknwon 1b2ecde1c9
Update locales 2017-01-21 20:12:19 -05:00
Unknwon c4086d43db
Update locales 2017-01-01 13:33:24 +08:00
Unknwon 598e062241
Add Galician support
- Update locales
2016-12-23 21:06:15 -05:00
David A. Lareo bf70082c22 New locale "galician" (#3917) 2016-12-23 20:53:24 -05:00
ipavl 539b07e205 Pluralize "Statistic" (#3665)
Other locales appear to use the plural version, and the text is being associated with more than one statistic.
2016-12-22 03:26:33 -05:00
Unknwon 6cc992ea54
Minor fix for PR #3687 2016-12-21 23:52:11 -05:00
Stefan Grönke 3376354ed8 Check if file is a symlink with web editor (#3687)
* editor checks for symlinks

* translate file_is_a_symlink message

* credit translation author
2016-12-21 23:49:56 -05:00
Nico Mandery adcb1d7c65 serve video files using the HTML5 video tag (#3967) 2016-12-21 03:40:23 -05:00
Unknwon 44ed991726
Merge branch 'develop' of https://github.com/tanapoln/gogs into develop 2016-12-21 00:49:44 -05:00
Unknwon d3b2ff17d6
Update locales 2016-12-20 22:35:55 -05:00
Unknwon 105c528369
Add Korean support 2016-12-20 21:59:59 -05:00
Unknwon a3ea4b8802
Update locales and add Swedish 2016-11-19 21:40:13 -05:00
Unknwon 7e15ff9486
Update locales
Add new locale Serbian (Cyrillic)
2016-09-15 20:03:36 -04:00
Tanapol Nearunchorn 73fedc7275 provide button to delete merged pull request 2016-09-02 10:12:21 +07:00
Daniel Oaks b3d9ca4ccd Add the ability to explore organizations (#3573)
* Add ability to explore organizations

* Use right icon for org explore links
2016-09-01 09:08:05 -04:00
Unknwon 8ee14db51e Update locales 2016-09-01 00:35:04 -04:00
Unknwon 99c2ae7b35 #3515 use alert instead 500 for duplicated login source name 2016-08-31 00:56:10 -07:00
Unknwon 8516dfcb6c #2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
2016-08-30 16:18:33 -07:00
Unknwon 643142acab Web editor: support upload files 2016-08-30 05:23:59 -07:00