2
0
Commit Graph

760 Commits

Author SHA1 Message Date
Bwko
ae5d868288 Add option to app.ini to enable local import paths (#724) 2017-01-23 09:19:50 +08:00
Philip Couling
ba108352be Attach to release (#673)
* Moved attachaments POST url from /issues/attachments to /attachments

* Implemented attachment upload on release page

* Implemented downloading attachments on the release page

* Added zip and gzip files to default allowed attachments

* Implemented uploading attachments on edit release

* Renamed UploadIssueAttachment to UploadAttachment
2017-01-15 22:57:00 +08:00
Bo-Yi Wu
c976d4bf2e docs: update translation on homepage for zh-tw (#634) 2017-01-11 09:23:42 +01:00
derSuessmann
59bc880e0d Add Keep email private (see issue #571). (#571)
- Add site-wide option DEFAULT_KEEP_EMAIL_PRIVATE.
- Add the new option to the install and admin/config pages.
- Add the new option to app.ini in the service section.
- Add the new option to the settings struct.
- Add English text strings to i18n.
- Add field KeepEmailPrivate to user struct.
- Add field KeepEmailPrivate to user form.
- Add option to UI.
- Add using noreply email address if user has "Keep Email Private".
An email address <LowerName>@<NO_REPLY_ADDRESS> is now used in commit
messages (and hopefully all other git log relevant places). The
change relies on the fact that git commands should use
user.NetGitSig().
- Add hiding of email address in UI, if user has set "Keep Email Private".
- Add condition to show email address only on explore/users and user
pages, if user has not set "Keep Email Private".
- Add noreply email in API if set "Keep Email Private".
- Add a new service setting NO_REPLY_ADDRESS. The value of this
setting is used as the domain part for the user's email address in
git log, iff he decides to keep his email address private.
If the user decides to keep his email address private and this
option is not set 'noreply.example.org' is used, which no MTA
should send email to.

Add NO_REPLY_ADDRESS to conf/app.ini.
2017-01-08 11:12:03 +08:00
Alvaro Aleman
34d39e1cf6 Provide description for the INSTALL_LOCK config option (#554) 2017-01-02 12:32:21 +08:00
Thiago Avelino
c2de95b28b UI config to toggle whether user email shows up in Explore Users (#336)
* UI config to toggle whether user email shows up in Explore Users

* Recommendation made by @tboerger
66a1c59fe7 (r94122732)

* fixed typo, rename ShowUserEmailInExplore to ShowUserEmail

* Fixed typo merged conflict

* Hide email in the user profile page

if you are active ShowUserEmail
ref https://github.com/go-gitea/gitea/pull/336#issuecomment-269843725

* Please replace MustBool() with MustBool(true)
2017-01-01 10:51:10 +08:00
Joubert RedRat
24b676ebdc Fix default cookie name 2016-12-27 13:02:24 -02:00
Philip Couling
aca75f16b0 Implement sendmail (#355)
* Implemented sendmail. This piggybacks on existing configuration to keep the change simple

* Changed privicy of new sendSMTP and sendSendmail functions

* Fixed Lint errors

* Seperated SMTP and sendmail into their own senders

* Making new structs private as they should not be used externally now

* Added sendmail setting to ini file

* Minor code cleanup
2016-12-25 14:55:22 +01:00
Bwko
53ac464301 Added minimum password length to app.ini (#223) 2016-12-24 21:40:44 +08:00
Lunny Xiao
f415897918 Add default values for settings (#455)
* add default values for settings

* more default values

* more default settings and labels resource

* mv locale to options
2016-12-23 15:18:05 +08:00
Thomas Boerger
c9e63d8e61 Bindata is optional and over-writable on restart (#354)
* Moved conf assets into options folder

* Dropped old bindata

* Started to integrate options bindata and accessors

* Do not enforce a builtin app.ini

* Replaced bindata calls with options

* Dropped bindata task from makefile, it's the generate task now

* Always embedd app.ini to provide sane config defaults

* Use sane defaults for the configuration

* Defined default value for SSH_KEYGEN_PATH

* Dropped "NEVER EVER MODIFY THIS FILE" header from app.ini

* Fixed new paths in latest test additions

* Drop bindata with make clean task

* Set more proper default values
2016-12-22 19:12:23 +01:00
Lunny Xiao
7a497ade05 Check if file is a symlink with web editor (#3687) (#445)
* Check if file is a symlink with web editor (#3687)

* editor checks for symlinks

* translate file_is_a_symlink message

* credit translation author

* fix error constant
2016-12-22 13:27:32 +01:00
Lunny Xiao
863e0daaea fix bug #1122 log.smtp receiver configure error (#3602) (#451) 2016-12-22 13:27:13 +01:00
Lunny Xiao
c919ad846a New settings option for a custom SSH host (#3763) (#446)
* New settings option for a custom SSH host (#3763)

* let default ssh listen addr empty
2016-12-22 13:26:43 +01:00
Lunny Xiao
4d08689abe Update locales (#440)
* Update locales

* replace Gogs to Gitea
2016-12-21 23:28:42 +08:00
Lunny Xiao
38bdb03b5b Add Korean support (#437)
* Add Korean support

* replace Gogs to Gitea
2016-12-21 15:47:26 +01:00
Joubert RedRat
150e81104c Remove remaining Gogs reference on locales and cmd (#430) 2016-12-21 20:13:17 +08:00
Andrey Nering
07dd6084a5 Change default Android theme color meta tag (#389) 2016-12-20 21:54:22 +08:00
Nico Mandery
2943f04b65 serve video files using the HTML5 video tag (#418)
* serve video files using the HTML5 video tag

* lint fix: add comment to IsVideoFile
2016-12-20 16:09:11 +08:00
Henning Henkel
ad4f17eba7 Added download tooltip - solves #221 (#359) 2016-12-07 09:38:20 +01:00
Bwko
70216ff69c Added rel="noopener" to target="_blank" hrefs (#327)
* Added rel="noopener" to target="_blank" hrefs

* Replaced gogs.io/docs with docs.gitea.io
2016-12-02 09:12:16 +08:00
Lunny Xiao
e3b8b6984b Resolved #296 (#324)
* resolved #296

* Indentation fixed
2016-12-01 18:52:57 +08:00
Michael Stroucken
63be08b365 Based on @tboerger's screenshot, these "times" are counts and not
clock times. Change translation to reflect that.
2016-11-30 13:25:05 -05:00
Michael Stroucken
adfbd2ae00 Time values displayed are apparently single values, so use singular. 2016-11-29 14:54:10 -05:00
Michael Stroucken
6ba643a3cb Rebase branch onto go-gitea/gitea 2016-11-28 20:03:45 -05:00
Bwko
334903e306 Fixes typos 2016-11-27 12:59:12 +01:00
Unknwon
c8bbcb8e87 Update locales and add Swedish
Signed-off-by: Andrey Nering <andrey.nering@gmail.com>
2016-11-26 14:22:55 -02:00
Lunny Xiao
4b632bb41b Merge pull request #121 from joubertredrat/feature-last-login
Last Login for admin manage your users
2016-11-10 17:20:55 +08:00
Joubert RedRat
8c1f9a1283 Support to last login feature 2016-11-09 08:53:45 -02:00
Lunny Xiao
c394122152 lack of translation for zh-CN 2016-11-08 16:20:45 +08:00
Avelino
a31c5adc6f replace Gogs to Gitea on locale files 2016-11-08 01:21:31 -02:00
Joubert RedRat
7ae4f56832 Change binary name from main to gitea 2016-11-07 13:26:19 -02:00
Joubert RedRat
630c0bbda5 Replace Gogs to Gitea in installation options 2016-11-07 13:26:19 -02:00
Rachid Zarouali
64eb34d9b3 Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
Disable HTTP cloning
2016-11-07 11:23:30 +01:00
Rémy Boulanouar
ac33536be0 Implementation of the feature to redirect to an external issue tracker 2016-11-04 09:06:54 +01:00
Rémy Boulanouar
61ec6729e6 Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
Thibault Meyer
2e54a18eeb missing space 2016-10-04 18:59:07 +02:00
Thibault Meyer
56d98c3349 Can disable GIT interactions by HTTP protocol 2016-09-18 10:54:33 +02:00
Unknwon
32b0277749 Update locales
Add new locale Serbian (Cyrillic)
2016-09-15 20:03:36 -04:00
Daniel Oaks
6cdcdc8a31 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
Thibault Meyer
d6f5380270 Feature #3492: Add option to hide footer load times (#3562)
* Add option to hide footer load times

* Rename option variable + minor changes
2016-09-01 01:01:32 -04:00
Unknwon
5584cebdb8 Update locales 2016-09-01 00:35:04 -04:00
Unknwon
d2fc115de3 #3515 use alert instead 500 for duplicated login source name 2016-08-31 00:56:10 -07:00
Unknwon
de6b7fff77 #2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
2016-08-30 16:18:33 -07:00
Unknwon
c5dea9e790 Web editor: support upload files 2016-08-30 05:23:59 -07:00
Unknwon
d3b79c7c68 #3459 code quality improvement 2016-08-29 20:00:06 -07:00
Thibault Meyer
09648cfb39 Load a set of predefined labels (#3459)
* Can use a predefined set of labels

* Change UI

* Fix HTML file indentation

* Avoid reading file from other directory (security issue)

* Apply a better fix

* Remove not used variable

* Merge upstream/develop

* Do modifications

* Raname

* remove binding + rename variable
2016-08-29 19:02:49 -07:00
Unknwon
a6b484f417 Web editor: fix cannot create new file in subdirectory 2016-08-29 00:10:21 -07:00
Unknwon
46d345920b Web editor: improve edit file 2016-08-28 04:31:42 -07:00
Unknwon
6aa50bcc06 Web editor: improve delete file process 2016-08-28 01:41:44 -07:00