]> source.dussan.org Git - gitea.git/log
gitea.git
7 years agoMore fine graned colors
Andrey Nering [Mon, 2 Jan 2017 18:40:50 +0000 (16:40 -0200)]
More fine graned colors

7 years agoDo not get count on /api routers
Andrey Nering [Mon, 2 Jan 2017 18:31:50 +0000 (16:31 -0200)]
Do not get count on /api routers

7 years agoNotifications - Step 2
Andrey Nering [Fri, 30 Dec 2016 18:49:54 +0000 (16:49 -0200)]
Notifications - Step 2

7 years agoNotification - Step 1 (#523)
Andrey Nering [Fri, 30 Dec 2016 16:44:54 +0000 (14:44 -0200)]
Notification - Step 1 (#523)

* Notification - Step 1

* Add copyright headers

* Cache issue and repository on notification model

7 years agopush + pull now works with reverse proxy + basic auth on apache 2.4
Gogs [Wed, 28 Dec 2016 21:33:59 +0000 (21:33 +0000)]
push + pull now works with reverse proxy + basic auth on apache 2.4

7 years agoSpeed up conflict checking in pull request creation (#276)
typeless [Thu, 29 Dec 2016 14:59:52 +0000 (22:59 +0800)]
Speed up conflict checking in pull request creation (#276)

* Speed up conflict checking in pull request creation

In order to check conflicts of a PR, we set up a working tree by
cloning the base branch, which is quite time-consuming when the repository is huge.
Instead, this PR uses `git read-tree` and `git apply --check --cached` to check conflicts.

For #258

* Use $GIT_INDEX_FILE instead of --index-output to avoid lockfile problem

The lockfile gets renamed to the final destination after the operation
finishes. But it must be located in the same filesystem, which prevents
us from using /tmp.

* Temporary file names should not prefixed with '-'

7 years agoTab on user profile to show starred repos (#519)
Andrey Nering [Thu, 29 Dec 2016 14:58:24 +0000 (12:58 -0200)]
Tab on user profile to show starred repos (#519)

* Tab on user profile to show starred repos

* Make golint happy and use transactions on StarRepo function

* x -> sess

* Use sess.Close() instead of sess.Rollback()

* Add copyright

* Fix lint

7 years agoCache users on list releases (#527)
Lunny Xiao [Thu, 29 Dec 2016 13:21:19 +0000 (21:21 +0800)]
Cache users on list releases (#527)

7 years agoRepo permission bug fixes (#513)
Ethan Koenig [Thu, 29 Dec 2016 13:17:32 +0000 (08:17 -0500)]
Repo permission bug fixes (#513)

7 years agoadd default values for SSH settings (#500)
Lunny Xiao [Thu, 29 Dec 2016 10:51:15 +0000 (04:51 -0600)]
add default values for SSH settings (#500)

7 years agoslight optimization for GetUserRepositories (#498)
Lunny Xiao [Thu, 29 Dec 2016 08:53:33 +0000 (02:53 -0600)]
slight optimization for GetUserRepositories (#498)

7 years agocommithgraph / timeline (#428)
Kjell Kvinge [Wed, 28 Dec 2016 23:44:32 +0000 (00:44 +0100)]
commithgraph / timeline (#428)

* Add model and tests for graph

* Add route and router for graph

* Add assets for graph

* Add template for graph

7 years agoPermissions bug fix for webhooks
Ethan Koenig [Tue, 27 Dec 2016 18:13:21 +0000 (13:13 -0500)]
Permissions bug fix for webhooks

7 years agoImplementation of Folder Jumping
Sl@ny [Wed, 28 Dec 2016 16:35:52 +0000 (17:35 +0100)]
Implementation of Folder Jumping

7 years agoReplace Gogs with Gitea (#520)
Bwko [Wed, 28 Dec 2016 08:33:21 +0000 (09:33 +0100)]
Replace Gogs with Gitea (#520)

7 years agoAPI endpoints for organization teams (#370)
Ethan Koenig [Wed, 28 Dec 2016 01:36:04 +0000 (20:36 -0500)]
API endpoints for organization teams (#370)

7 years agoOptimization for user.GetRepositoryAccesses to reduce db query times (#495)
Lunny Xiao [Wed, 28 Dec 2016 01:34:35 +0000 (09:34 +0800)]
Optimization for user.GetRepositoryAccesses to reduce db query times (#495)

* optimization for user.GetRepositoryAccesses to reduce db query times

* fix missing cache

7 years agoRemove redundant query in collaborator API (#516)
Ethan Koenig [Wed, 28 Dec 2016 01:09:54 +0000 (20:09 -0500)]
Remove redundant query in collaborator API (#516)

7 years agoignore static files statstics for linguist
Lunny Xiao [Tue, 27 Dec 2016 05:56:36 +0000 (13:56 +0800)]
ignore static files statstics for linguist

7 years agoMerge pull request #508 from joubertredrat/fix-cookie-name
Andrey Nering [Tue, 27 Dec 2016 15:14:20 +0000 (13:14 -0200)]
Merge pull request #508 from joubertredrat/fix-cookie-name

Fix default cookie name

7 years agoFix default cookie name 508/head
Joubert RedRat [Tue, 27 Dec 2016 15:02:24 +0000 (13:02 -0200)]
Fix default cookie name

7 years agoMerge pull request #487 from Bwko/NL
Andrey Nering [Tue, 27 Dec 2016 13:13:48 +0000 (11:13 -0200)]
Merge pull request #487 from Bwko/NL

Added Dutch translations to the landingpage

7 years agofix installation page ssh domain unavilable
Lunny Xiao [Tue, 27 Dec 2016 07:34:34 +0000 (15:34 +0800)]
fix installation page ssh domain unavilable

7 years agofix 500 when delete orgnization and resolved #486
Lunny Xiao [Tue, 27 Dec 2016 02:02:14 +0000 (10:02 +0800)]
fix 500 when delete orgnization and resolved #486

7 years agoMerge pull request #492 from Bwko/password
Andrey Nering [Tue, 27 Dec 2016 00:10:29 +0000 (22:10 -0200)]
Merge pull request #492 from Bwko/password

At the locales replaced 6 with MIN_PASSWORD_LENGTH

7 years agoAt the locales replaced 6 with MIN_PASSWORD_LENGTH 492/head
Bwko [Mon, 26 Dec 2016 22:28:04 +0000 (23:28 +0100)]
At the locales replaced 6 with MIN_PASSWORD_LENGTH

7 years agoAdded Dutch translations to the landingpage 487/head
Bwko [Mon, 26 Dec 2016 22:03:16 +0000 (23:03 +0100)]
Added Dutch translations to the landingpage

7 years agoImprove the way how branches are deleted
Bwko [Sun, 25 Dec 2016 16:19:25 +0000 (17:19 +0100)]
Improve the way how branches are deleted

Delete branch from HeadRepo instead of BaseRepo
Prevent the deletion of a master branch
Show a yes/no overlay when you press the delete branch button

7 years agoImprove issue references in markdown (#471)
Sandro Santilli [Mon, 26 Dec 2016 10:52:04 +0000 (11:52 +0100)]
Improve issue references in markdown (#471)

* Improve issue references in markdown. (#3436)

* Fix build

* Fix lint

* Fix comment typo

7 years agoAPI Endpoints for collaborators (#375)
Ethan Koenig [Mon, 26 Dec 2016 07:37:01 +0000 (02:37 -0500)]
API Endpoints for collaborators (#375)

7 years agoGit LFS support v2 (#122)
Fabian Zaremba [Mon, 26 Dec 2016 01:16:37 +0000 (02:16 +0100)]
Git LFS support v2 (#122)

* Import github.com/git-lfs/lfs-test-server as lfs module base

Imported commit is 3968aac269a77b73924649b9412ae03f7ccd3198

Removed:

Dockerfile CONTRIBUTING.md mgmt* script/ vendor/ kvlogger.go
.dockerignore .gitignore README.md

* Remove config, add JWT support from github.com/mgit-at/lfs-test-server

Imported commit f0cdcc5a01599c5a955dc1bbf683bb4acecdba83

* Add LFS settings

* Add LFS meta object model

* Add LFS routes and initialization

* Import github.com/dgrijalva/jwt-go into vendor/

* Adapt LFS module: handlers, routing, meta store

* Move LFS routes to /user/repo/info/lfs/*

* Add request header checks to LFS BatchHandler / PostHandler

* Implement LFS basic authentication

* Rework JWT secret generation / load

* Implement LFS SSH token authentication with JWT

Specification: https://github.com/github/git-lfs/tree/master/docs/api

* Integrate LFS settings into install process

* Remove LFS objects when repository is deleted

Only removes objects from content store when deleted repo is the only
referencing repository

* Make LFS module stateless

Fixes bug where LFS would not work after installation without
restarting Gitea

* Change 500 'Internal Server Error' to 400 'Bad Request'

* Change sql query to xorm call

* Remove unneeded type from LFS module

* Change internal imports to code.gitea.io/gitea/

* Add Gitea authors copyright

* Change basic auth realm to "gitea-lfs"

* Add unique indexes to LFS model

* Use xorm count function in LFS check on repository delete

* Return io.ReadCloser from content store and close after usage

* Add LFS info to runWeb()

* Export LFS content store base path

* LFS file download from UI

* Work around git-lfs client issue with unauthenticated requests

Returning a dummy Authorization header for unauthenticated requests
lets git-lfs client skip asking for auth credentials
See: https://github.com/github/git-lfs/issues/1088

* Fix unauthenticated UI downloads from public repositories

* Authentication check order, Finish LFS file view logic

* Ignore LFS hooks if installed for current OS user

Fixes Gitea UI actions for repositories tracking LFS files.
Checks for minimum needed git version by parsing the semantic version
string.

* Hide LFS metafile diff from commit view, marking as binary

* Show LFS notice if file in commit view is tracked

* Add notbefore/nbf JWT claim

* Correct lint suggestions - comments for structs and functions

- Add comments to LFS model
- Function comment for GetRandomBytesAsBase64
- LFS server function comments and lint variable suggestion

* Move secret generation code out of conditional

Ensures no LFS code may run with an empty secret

* Do not hand out JWT tokens if LFS server support is disabled

7 years agoProvide button to delete merged pull request (#441)
Lunny Xiao [Sun, 25 Dec 2016 15:27:25 +0000 (23:27 +0800)]
Provide button to delete merged pull request (#441)

* provide button to delete merged pull request

* golint fix

7 years agoImplement sendmail (#355)
Philip Couling [Sun, 25 Dec 2016 13:55:22 +0000 (13:55 +0000)]
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

7 years agoUpdate sdk
Ethan Koenig [Sat, 24 Dec 2016 19:47:32 +0000 (14:47 -0500)]
Update sdk

7 years agoOrganization webhook API endpoints
Ethan Koenig [Wed, 7 Dec 2016 04:36:28 +0000 (23:36 -0500)]
Organization webhook API endpoints

7 years agoAdded sorting to organizations, repos & users page (#222)
Bwko [Sat, 24 Dec 2016 14:42:26 +0000 (15:42 +0100)]
Added sorting to organizations, repos & users page (#222)

7 years agoSimplified MinPasswordLength check (#475)
Bwko [Sat, 24 Dec 2016 14:42:11 +0000 (15:42 +0100)]
Simplified MinPasswordLength check (#475)

7 years agoAdded sorting to the labels & milestones page (#199)
Bwko [Sat, 24 Dec 2016 14:41:09 +0000 (15:41 +0100)]
Added sorting to the labels & milestones page (#199)

7 years agoAdded minimum password length to app.ini (#223)
Bwko [Sat, 24 Dec 2016 13:40:44 +0000 (14:40 +0100)]
Added minimum password length to app.ini (#223)

7 years agoBug fixes for Issues filters (#413)
Ethan Koenig [Sat, 24 Dec 2016 10:33:21 +0000 (05:33 -0500)]
Bug fixes for Issues filters (#413)

Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters

7 years agoAPI Endpoint for watching (#191) 469/head
Ethan Koenig [Sat, 24 Dec 2016 01:53:11 +0000 (20:53 -0500)]
API Endpoint for watching (#191)

7 years agoEnables mssql support (#383)
btrepp [Sat, 24 Dec 2016 01:37:35 +0000 (09:37 +0800)]
Enables mssql support (#383)

* Enables mssql support

Port of dlobs work in gogs.
Enables options in index.js
Enables MSSQL as a database option in go.
Sets ID to 0 on initial migration. Required for
MSSQL insert statements.

Signed-off-by: Beau Trepp <beautrepp@gmail.com>
* Vendors in denisenkom/go-mssqldb

Includes golang.org/x/crypto/md4
as this is required by go-msssqldb

Signed-off-by: Beau Trepp <beautrepp@gmail.com>
7 years agoRaised version to 1.1.0 (#468)
Thomas Boerger [Sat, 24 Dec 2016 01:19:12 +0000 (02:19 +0100)]
Raised version to 1.1.0 (#468)

7 years agoProperly handle drone tags and release/* branches (#466) v1.0.0
Thomas Boerger [Fri, 23 Dec 2016 23:00:48 +0000 (00:00 +0100)]
Properly handle drone tags and release/* branches (#466)

7 years agoFixed drone tagging
Thomas Boerger [Fri, 23 Dec 2016 18:51:39 +0000 (19:51 +0100)]
Fixed drone tagging

7 years agoFix broken godoc link and add arch in English README (#463)
Lunny Xiao [Fri, 23 Dec 2016 14:57:18 +0000 (22:57 +0800)]
Fix broken godoc link and add arch in English README (#463)

* fix broken godoc link and add arch in English README

* typo

7 years agoupdate zh readme (#462)
Lunny Xiao [Fri, 23 Dec 2016 14:39:24 +0000 (22:39 +0800)]
update zh readme (#462)

7 years agoSimplified README and added a release badge (#460)
Thomas Boerger [Fri, 23 Dec 2016 14:05:24 +0000 (15:05 +0100)]
Simplified README and added a release badge (#460)

* Dropped the status from readme, it's anway always outdated

* Added version badge

* Cleaned the install instructions

* Dropped paragraphs that should be documented on the docs

* Simplified the content, refer to the website

* Dropped the logo, lets show screenshots

* Fixed TRANSLATORS link

7 years agoIntegrated an initial changelog (#457)
Thomas Boerger [Fri, 23 Dec 2016 12:06:43 +0000 (13:06 +0100)]
Integrated an initial changelog (#457)

7 years agoAdd default values for settings (#455)
Lunny Xiao [Fri, 23 Dec 2016 07:18:05 +0000 (15:18 +0800)]
Add default values for settings (#455)

* add default values for settings

* more default values

* more default settings and labels resource

* mv locale to options

7 years agoFix race condition in unit test (#456)
Ethan Koenig [Fri, 23 Dec 2016 06:31:22 +0000 (01:31 -0500)]
Fix race condition in unit test (#456)

7 years agoChange screenshoots to Gitea (#454)
Joubert RedRat [Fri, 23 Dec 2016 06:25:55 +0000 (04:25 -0200)]
Change screenshoots to Gitea (#454)

7 years agoresolved #394 (#396)
Lunny Xiao [Fri, 23 Dec 2016 00:26:01 +0000 (08:26 +0800)]
resolved #394 (#396)

7 years agoBindata is optional and over-writable on restart (#354)
Thomas Boerger [Thu, 22 Dec 2016 18:12:23 +0000 (19:12 +0100)]
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

7 years agofix tag webhook 404 error (#420)
Lunny Xiao [Thu, 22 Dec 2016 14:57:48 +0000 (22:57 +0800)]
fix tag webhook 404 error (#420)

7 years agoCheck if file is a symlink with web editor (#3687) (#445)
Lunny Xiao [Thu, 22 Dec 2016 12:27:32 +0000 (20:27 +0800)]
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

7 years agofix bug #1122 log.smtp receiver configure error (#3602) (#451)
Lunny Xiao [Thu, 22 Dec 2016 12:27:13 +0000 (20:27 +0800)]
fix bug #1122 log.smtp receiver configure error (#3602) (#451)

7 years agoNew settings option for a custom SSH host (#3763) (#446)
Lunny Xiao [Thu, 22 Dec 2016 12:26:43 +0000 (20:26 +0800)]
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

7 years agoinit script gentoo (#447)
Lunny Xiao [Thu, 22 Dec 2016 09:39:17 +0000 (17:39 +0800)]
init script gentoo (#447)

* init script for gentoo (#3761)

* replace Gogs to Gitea

* remove override port number

* remove port

7 years agoupdate code.gitea.io/git (#450)
Lunny Xiao [Thu, 22 Dec 2016 09:30:52 +0000 (17:30 +0800)]
update code.gitea.io/git (#450)

7 years agoUpdateIssueUsersByMentions was calling database write operations while (#443)
Lunny Xiao [Thu, 22 Dec 2016 09:00:39 +0000 (17:00 +0800)]
UpdateIssueUsersByMentions was calling database write operations while (#443)

a transaction session was in progress. MailParticipants was failing
silently because of the SQLITE_LOCKED error. Make sure failures in
MailParticipants enter the log, and pass on the transaction context.

issue: let caller pass in database context, and use it
issue_comment: obtain database context to pass to UpdateIssueMentions
issue_comment: log any error from call to MailParticipants
issue_mail: pass on database context to UpdateIssueMentions

7 years agoBug fixes and tests for modules/base (#442)
Ethan Koenig [Thu, 22 Dec 2016 08:58:04 +0000 (03:58 -0500)]
Bug fixes and tests for modules/base (#442)

Also address other TODOs

7 years agoissue comment api fix (#449)
Kim "BKC" Carlbäcker [Thu, 22 Dec 2016 08:29:26 +0000 (09:29 +0100)]
issue comment api fix (#449)

* ListAllInRepo & Delete Issue-Comments

* Moar data in issue-comments

7 years agoFix string format verbs (#3637)
Alexander Lunegov [Wed, 21 Dec 2016 07:09:43 +0000 (12:09 +0500)]
Fix string format verbs (#3637)

7 years agoFix homepage docs link broken (#417)
Lunny Xiao [Thu, 22 Dec 2016 06:03:43 +0000 (14:03 +0800)]
Fix homepage docs link broken (#417)

* fix homepage docs link broken

* fix homepage docs links after docs updated

7 years agoUpdate locales (#440)
Lunny Xiao [Wed, 21 Dec 2016 15:28:42 +0000 (23:28 +0800)]
Update locales (#440)

* Update locales

* replace Gogs to Gitea

7 years agoAdd Korean support (#437)
Lunny Xiao [Wed, 21 Dec 2016 14:47:26 +0000 (22:47 +0800)]
Add Korean support (#437)

* Add Korean support

* replace Gogs to Gitea

7 years agoRemove remaining Gogs reference on locales and cmd (#430)
Joubert RedRat [Wed, 21 Dec 2016 12:13:17 +0000 (10:13 -0200)]
Remove remaining Gogs reference on locales and cmd (#430)

7 years agoDo not override the binary version name from drone (#436)
Thomas Boerger [Wed, 21 Dec 2016 12:00:15 +0000 (13:00 +0100)]
Do not override the binary version name from drone (#436)

Signed-off-by: Thomas Boerger <tboerger@suse.de>
7 years agoChange default Android theme color meta tag (#389)
Andrey Nering [Tue, 20 Dec 2016 13:54:22 +0000 (11:54 -0200)]
Change default Android theme color meta tag (#389)

7 years agoMerge pull request #412 from strk/libravatar-source
Andrey Nering [Tue, 20 Dec 2016 12:32:45 +0000 (10:32 -0200)]
Merge pull request #412 from strk/libravatar-source

Add support for using "libravatar" as the GravatarSource

7 years agoFix random string generator (#384)
Denis Denisov [Tue, 20 Dec 2016 12:32:02 +0000 (14:32 +0200)]
Fix random string generator (#384)

* Remove unused custom-alphabet feature of random string generator

Fix random string generator

Random string generator should return error if it fails to read random data via crypto/rand

* Fixes variable (un)initialization mixed assign
Update test GetRandomString

7 years agoMerge pull request #422 from mjwwit/master
Andrey Nering [Tue, 20 Dec 2016 12:15:03 +0000 (10:15 -0200)]
Merge pull request #422 from mjwwit/master

Change test mail subject and body to 'Gitea Test Mail!'

7 years agochange test mail subject and body to 'Gitea Test Mail!' 422/head
Michael de Wit [Tue, 20 Dec 2016 08:34:50 +0000 (09:34 +0100)]
change test mail subject and body to 'Gitea Test Mail!'

Signed-off-by: Michael de Wit <mjwwit@gmail.com>
7 years agoserve video files using the HTML5 video tag (#418)
Nico Mandery [Tue, 20 Dec 2016 08:09:11 +0000 (09:09 +0100)]
serve video files using the HTML5 video tag (#418)

* serve video files using the HTML5 video tag

* lint fix: add comment to IsVideoFile

7 years agoAdd support for using "libravatar" as the GravatarSource 412/head
Sandro Santilli [Mon, 19 Dec 2016 16:04:39 +0000 (17:04 +0100)]
Add support for using "libravatar" as the GravatarSource

Just to make it easier for administrator to configure libre avatar,
as it is done for "duoshuo" and "gravatar"

7 years agoadd ZH readme (#405)
Lunny Xiao [Mon, 19 Dec 2016 13:30:52 +0000 (21:30 +0800)]
add ZH readme (#405)

7 years agofixed vulnerabilities labels (#409)
Lunny Xiao [Sat, 17 Dec 2016 11:49:17 +0000 (19:49 +0800)]
fixed vulnerabilities labels (#409)

7 years agoRemove fixed FIXME (#408)
Richie B2B [Fri, 16 Dec 2016 16:00:30 +0000 (17:00 +0100)]
Remove fixed FIXME (#408)

7 years agoFix typo (#407)
Richie B2B [Fri, 16 Dec 2016 16:00:15 +0000 (17:00 +0100)]
Fix typo (#407)

7 years agoUpdate gitea/sdk vendor (#406)
Martin Hebnes Pedersen [Fri, 16 Dec 2016 15:26:35 +0000 (16:26 +0100)]
Update gitea/sdk vendor (#406)

7 years agoRevert "Disable coverage report for now" (#400)
Andrey Nering [Fri, 16 Dec 2016 11:49:54 +0000 (09:49 -0200)]
Revert "Disable coverage report for now" (#400)

7 years agofixed vulnerabilities on deleting release (#399)
Lunny Xiao [Fri, 16 Dec 2016 11:42:39 +0000 (19:42 +0800)]
fixed vulnerabilities on deleting release (#399)

7 years agoDisable coverage report for now (#395)
Thomas Boerger [Thu, 15 Dec 2016 11:26:34 +0000 (12:26 +0100)]
Disable coverage report for now (#395)

Until aircover gets updated so that it works again I have disabled to
coverage report upload for now.

7 years agoFixing multiple docker issues (#386)
Thomas Boerger [Thu, 15 Dec 2016 09:16:55 +0000 (10:16 +0100)]
Fixing multiple docker issues (#386)

* Added stupid docker task to makefile

* Dropped unknown option PrintLastLog from docker ssh config

* OpenSSH should log to docker stdout

* Set random pw for docker git user, otherwise it is locked

* Stop using templates and public within docker

7 years agoUpdate example install url from try.gogs.io to try.gitea.io (#385)
Sandro Santilli [Thu, 15 Dec 2016 08:56:46 +0000 (09:56 +0100)]
Update example install url from try.gogs.io to try.gitea.io (#385)

* Update example install url from try.gogs.io to try.gitea.io

* Ask if issue can be reproduced on try.gitea.io

* Link try.gitea.io to the README

7 years agofixed vulnerabilities (#392)
Lunny Xiao [Thu, 15 Dec 2016 08:49:06 +0000 (16:49 +0800)]
fixed vulnerabilities (#392)

7 years agoDon't use custom PBKDF2 function (#382)
Lunny Xiao [Thu, 15 Dec 2016 01:24:27 +0000 (09:24 +0800)]
Don't use custom PBKDF2 function (#382)

7 years agobug fixed branch name for pushupdate (#380)
Lunny Xiao [Tue, 13 Dec 2016 07:19:42 +0000 (15:19 +0800)]
bug fixed branch name for pushupdate (#380)

7 years agoAutogenerate Version on build (#190)
Kim "BKC" Carlbäcker [Tue, 13 Dec 2016 04:48:58 +0000 (05:48 +0100)]
Autogenerate Version on build (#190)

* Autogenerate Version On Build

* Fixes

* Changed Version to v0.9.0

* balls

* I hate newlines

* Don't remove .VERSION-file on `make clean`

* v0.9.0 => 1.0.0

* damn new-lines...

* Always rebuild templates/.VERSION

* Delete .VERSION

* Update Makefile

7 years agoCorrection LDAP validation (#342)
Denis Denisov [Mon, 12 Dec 2016 00:46:51 +0000 (02:46 +0200)]
Correction LDAP validation (#342)

* Correction LDAP username validation

As https://msdn.microsoft.com/en-us/library/aa366101(v=vs.85).aspx describe spaces should not be in start or at the end of username but they can be inside the username. So please check my solution for it.

* Check for zero length passwords in LDAP module.

According to https://tools.ietf.org/search/rfc4513#section-5.1.2 LDAP client should always check before bind whether a password is an empty value. There are at least one LDAP implementation which does not return error if you try to bind with DN set and empty password - AD.

* Clearing the login/email spaces at the [start/end]

7 years agoIn the wiki title replace tab with a space (#371)
Bwko [Sun, 11 Dec 2016 03:01:26 +0000 (04:01 +0100)]
In the wiki title replace tab with a space (#371)

7 years agoFixes issue #283
Bwko [Thu, 8 Dec 2016 22:08:28 +0000 (23:08 +0100)]
Fixes issue #283

Delete old temp local copy before we create a new temp local copy

7 years agoBug fix for edit-hook API endpoint
Ethan Koenig [Wed, 7 Dec 2016 21:25:29 +0000 (16:25 -0500)]
Bug fix for edit-hook API endpoint

7 years agoFix alignment of tooltip and add bindata - related to #359 (#364)
Henning Henkel [Thu, 8 Dec 2016 12:59:47 +0000 (13:59 +0100)]
Fix alignment of tooltip and add bindata - related to #359 (#364)

7 years agoRemove stale comment in models/repo.go (#366)
Ethan Koenig [Wed, 7 Dec 2016 23:04:12 +0000 (18:04 -0500)]
Remove stale comment in models/repo.go (#366)

7 years agoFix for #361, renamed username to login
Bwko [Wed, 7 Dec 2016 11:21:16 +0000 (12:21 +0100)]
Fix for #361, renamed username to login

7 years agoBug fixes for repo permissions in API
Ethan Koenig [Mon, 5 Dec 2016 23:48:51 +0000 (18:48 -0500)]
Bug fixes for repo permissions in API

Also move duplicated code into repo.APIFormat(..)

7 years agoAdded download tooltip - solves #221 (#359)
Henning Henkel [Wed, 7 Dec 2016 08:38:20 +0000 (09:38 +0100)]
Added download tooltip - solves #221 (#359)

7 years agoFixes panic when there's no user initialized (#358)
Bwko [Tue, 6 Dec 2016 20:58:34 +0000 (21:58 +0100)]
Fixes panic when there's no user initialized (#358)