Jonas Bröms and techknowlogick
599adde1bc
Add option to disable automatic mirror syncing. ( #5242 )
...
Setting the interval to 0 will disable to automatic syncing.
2018-11-08 18:58:02 -05:00
Jonas Bröms and techknowlogick
6c90dd1f4a
Update API link in README ( #5241 )
2018-10-31 20:18:28 -04:00
Jonas Bröms and Lunny Xiao
db30d6d791
Serve audio files using HTML5 audio tag ( #5221 )
...
* Serve audio files using HTML5 audio tag
* Correct copy paste error
2018-10-30 10:17:26 +08:00
Jonas Bröms and Lunny Xiao
9720f90905
Docs: Fix broken markdown with unescaped character ( #3470 )
2018-02-07 21:29:42 -06:00
Jonas Bröms and Lunny Xiao
be825aaa88
Clarify Indexer MAX_FILE_SIZE ( #3469 )
2018-02-07 20:10:36 -06:00
Jonas Bröms and Lauris BH
4d85c1d3c8
Fix fault PR renaming app.ini ( #2977 )
2017-11-26 18:02:38 +02:00
Jonas Bröms and Lunny Xiao
7091db8192
Rename conf dir > custom.sample ( #1522 )
...
* Explain app.ini purpose
2017-11-26 17:16:58 +08:00
Jonas Bröms and Lunny Xiao
1f7aab6e19
Drop deprecated GOGS_WORK_DIR use ( #2946 )
2017-11-21 09:52:47 +08:00
Jonas Bröms and Lunny Xiao
fd09d1ffb8
Drop unmaintained gogs migration script ( #2947 )
2017-11-21 08:52:48 +08:00
Jonas Bröms and Lunny Xiao
4d01ecaef3
Show Sendmail settings on admin config page ( #2782 )
...
* Show Sendmail settings on admin config page
* Remove unecessary if statement
2017-10-26 16:47:16 +08:00
Jonas Bröms and Lauris BH
e86a0bf3fe
Add support for extra sendmail arguments ( #2731 )
...
* Add support for extra sendmail arguments
* Sendmail args to exec.command should be a list
* Add go-shellquote package
* Use go-shellquote lib for parsing Sendmail args
* Only parse if sendmail is configured
2017-10-25 22:27:25 +03:00
Jonas Bröms and Lauris BH
d4c9399576
Set default lfs content path ( #2521 )
2017-10-19 09:52:37 +03:00
Jonas Bröms and Lauris BH
847272a70d
Only update mirror last update after successful sync ( #2730 )
2017-10-18 21:50:41 +03:00
Jonas Bröms and Bo-Yi Wu
2a184f5924
Fix typos in app.ini ( #2732 )
2017-10-17 21:11:23 -05:00
Jonas Östanbäck and Lauris BH
3fecf94086
Open external wiki in new window ( #2489 )
2017-09-12 10:29:35 +03:00
Jonas Östanbäck and Lunny Xiao
eab4579e17
Fix fmt error in mailer ( #2490 )
2017-09-12 09:04:14 +08:00
Jonas Östanbäck and Lunny Xiao
01d7189c2d
Fix slice out of bounds error in mailer ( #2479 )
2017-09-11 14:33:28 +08:00
Jonas Östanbäck and Lunny Xiao
1f4d84b7b2
Update git module ( #2074 )
2017-06-28 22:43:58 +08:00
Jonas Östanbäck and Lunny Xiao
a037cd81ff
Add link to forum in issue template ( #2070 )
2017-06-28 09:33:37 +08:00
Jonas Östanbäck and Lunny Xiao
2852cca99e
Add discourse link ( #2027 )
2017-06-22 09:07:13 +08:00
Jonas Östanbäck and Bo-Yi Wu
00733b4468
Add myself as a maintainer ( #1948 )
2017-06-12 08:11:50 -05:00
Jonas Östanbäck and Lunny Xiao
ad70af1248
Add repo fork swagger ( #1941 )
2017-06-12 08:59:51 +08:00
Jonas Östanbäck and Bo-Yi Wu
b1b8c5e9f4
Set TMPDIR enviroment variable for dump command ( #1915 )
2017-06-08 19:24:15 -05:00
Jonas Östanbäck and Lunny Xiao
d9a8eff2de
Send mails as HTML as default. Setting for send as plain text. ( #1648 )
...
* Send mails as HTML as default. Setting for send as plain text.
* Add new option SendAsPlainText. remove EnableHTMLAlternative
* Send HTML mails as default
* Add html check if html2text should be performed
* Send only multipart or plain. Add deprication warning for ENABLE_HTML_ALTERNATIVE
* Still use ENABLE_HTML_ALTERNATIVE for backward compatibility
* Changed to not ignore html2text errors
2017-06-07 09:14:31 +08:00
Jonas Östanbäck and Bo-Yi Wu
b93568cce4
xxx_active_code_live setting in printed in hours and minutes instead … ( #1814 )
...
* xxx_active_code_live setting in printed in hours and minutes instead of just hours
* Update app.ini description of xxx_code_lives settings
2017-05-29 02:35:47 -05:00
Jonas Östanbäck and Lunny Xiao
7b907ed348
Rename RepoCreationNum -> MaxCreationLimit ( #1766 )
2017-05-24 08:27:08 +08:00
Jonas Östanbäck and Lunny Xiao
85a7396525
Add error direclty when user tries to create new repo and limit already hit ( #1767 )
2017-05-20 16:47:48 +08:00
Jonas Östanbäck and Lunny Xiao
80cea8747f
Admin should always be allowed to create repos even if hit limit ( #1765 )
2017-05-20 11:51:19 +08:00
Jonas Östanbäck and Lunny Xiao
0161e46b5a
Add swagger comment for MirrorSync ( #1747 )
...
* Add swagger comment for MirrorSync
* Generate swagger.v1.json
2017-05-19 08:20:06 +08:00
Jonas Östanbäck and Lunny Xiao
5db5e16ab6
Correct grammar in APIEmpty documentation ( #1748 )
...
* Correct grammar in APIEmpty doc
* Generate swagger.v1.json
2017-05-18 22:39:42 +08:00
Jonas Östanbäck and Lunny Xiao
e214728725
Add new text for reset password flash ( #1718 )
...
* Forgot password should use ResetPwdCodeLives, not ActiveCodeLives
* Improve documentation for different send mail functions related to password reset
* Improve documentation in conf/app.ini regarding xxx_CODE_LIVE_MINUTES settings
2017-05-14 10:38:30 +08:00
Jonas Östanbäck and Lunny Xiao
ddb63a7897
Correct spelling mistakes ( #1703 )
...
* Nitpicking
2017-05-11 09:03:34 +08:00
Jonas Östanbäck and Lunny Xiao
59f5bbab0d
Fix CSS for wiki markdown ( #1660 )
2017-05-03 20:22:14 +08:00
Jonas Östanbäck and Lunny Xiao
9a8ca3e877
Fix broken migration v27 ( #1504 )
...
Mirror.interval column type needed to be changed to bigint.
Correct interval where the interval set is < MinInterval.
2017-04-30 10:08:16 +08:00
Jonas Östanbäck and Lunny Xiao
e4a0a04829
Add create_at and updated_at in PR json ( #1616 )
...
* Move new fields to object creation (use reference)
* Vendor: Update SDK
2017-04-27 17:29:46 +08:00
Jonas and Lunny Xiao
f995bcc87a
Add repo mirror sync API endpoint ( #1508 )
...
* API: Add repo mirror sync
* Correct error message
* Change http status to 200
2017-04-19 19:09:49 +08:00
Jonas and Bo-Yi Wu
be6edaddcb
Repo size in admin panel ( #1482 )
...
* Implementation of the feature to view repository size in admin panel
* Move GetRepoSize to git module
* Repository.RepoSize -> Repository.Size
* RepoSize -> Size in template
* Redo a few bits and pieces
* Update size when syncing mirror or forking
* Remove GetRepoSize
* Changed fatal errors to error message
* Copy migration code from Gogs
* make fmt
2017-04-11 21:30:15 +08:00
Jonas and Lunny Xiao
54f0293f0a
Mirror sync interval specified as duration string ( #1407 )
...
* Sync interval specifed as duration string
* Changed mirror interval text
* make fmt
* Add MinInterval for mirror sync
* Use duration internally
* Changed min default to 10m
* make fmt
* Incorrect default
* Removed defaults in MustDuration()
* Add Mirror interval migration
* Default values corrected
* Use transaction during migration
* Change http 500 to page with error message
* Cleanup session.commit()
2017-04-08 23:27:26 +08:00
Jonas and Lunny Xiao
e0df611cbc
Autofocus on 2fa passcode fields ( #1460 )
...
* Autofocus on 2fa passcode field
* Autofocus on 2fa scratch code field
2017-04-07 06:07:37 -07:00
Jonas and Lunny Xiao
e7493e953f
Corrected Mirror.NextUpdate not set ( #1388 )
2017-04-05 17:56:45 -07:00
Jonas and Lunny Xiao
095e1f5155
Support for custom html meta ( #1423 )
...
* Support for custom html meta
* Changed html meta description default
2017-03-31 18:03:01 -07:00
Jonas and Lunny Xiao
bbbd08edc1
Changed text when password reset disabled. ( #1364 )
...
Fixes #1340
2017-03-22 22:29:29 +08:00
Jonas and Lunny Xiao
16732fbfde
Removed email copyright year ( #1348 )
2017-03-21 18:00:39 +08:00
Jonas and Lunny Xiao
9a9f8fa25b
Fix broken table layout ( #1344 )
2017-03-21 09:44:59 +08:00
Jonas and Lunny Xiao
f3bf409082
Log config pretty printer ( #1097 )
...
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com >
2017-03-02 08:25:44 +08:00
Jonas and Lunny Xiao
a201977590
Fix for #828 : Embed build tags ( #1051 )
...
* Fix for #828
Add build tags to ldflags and print in version output
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com >
* Reworked formatBuiltWith function
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com >
* Add tags to version information in admin panel
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com >
* Added new variable for use on admin page.
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com >
* Fixed incorrect indentation
2017-02-28 08:40:02 +08:00
Jonas and Lunny Xiao
9ad3a07989
Fix for #1037 : Corrected process ID placeholder to PID from Pid ( #1048 )
...
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com >
2017-02-25 11:12:46 +08:00