4684 Commits (f686a32eac75460d5b1fcf16b6f6c2ed57f5b03e)
 

Author SHA1 Message Date
Ethan Koenig f686a32eac API endpoints for organization teams (#370) 8 years ago
Lunny Xiao c463b1b8cb Optimization for user.GetRepositoryAccesses to reduce db query times (#495)
* optimization for user.GetRepositoryAccesses to reduce db query times

* fix missing cache
8 years ago
Ethan Koenig 9fae9f0dc2 Remove redundant query in collaborator API (#516) 8 years ago
Lunny Xiao 8f1c311b90 ignore static files statstics for linguist 8 years ago
Andrey Nering edfa76d3f5 Merge pull request #508 from joubertredrat/fix-cookie-name
Fix default cookie name
8 years ago
Joubert RedRat a0f5471e21 Fix default cookie name 8 years ago
Andrey Nering ba85f68ea8 Merge pull request #487 from Bwko/NL
Added Dutch translations to the landingpage
8 years ago
Lunny Xiao 7802699f52 fix installation page ssh domain unavilable 8 years ago
Lunny Xiao ba134bd27a fix 500 when delete orgnization and resolved #486 8 years ago
Andrey Nering 59f736d54c Merge pull request #492 from Bwko/password
At the locales replaced 6 with MIN_PASSWORD_LENGTH
8 years ago
Bwko 98b0688921
At the locales replaced 6 with MIN_PASSWORD_LENGTH 8 years ago
Bwko 6388761129
Added Dutch translations to the landingpage 8 years ago
Bwko 71dee6b7c0 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
8 years ago
Sandro Santilli 71634452e1 Improve issue references in markdown (#471)
* Improve issue references in markdown. (#3436)

* Fix build

* Fix lint

* Fix comment typo
8 years ago
Ethan Koenig 2342df183b API Endpoints for collaborators (#375) 8 years ago
Fabian Zaremba 2e7ccecfe6 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
8 years ago
Lunny Xiao 4b7594d9fa Provide button to delete merged pull request (#441)
* provide button to delete merged pull request

* golint fix
8 years ago
Philip Couling d4924d45d6 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
8 years ago
Ethan Koenig 8de8ec027d Update sdk 8 years ago
Ethan Koenig 9847b38518 Organization webhook API endpoints 8 years ago
Bwko fa3abc22c0 Added sorting to organizations, repos & users page (#222) 8 years ago
Bwko c1e92eeb72 Simplified MinPasswordLength check (#475) 8 years ago
Bwko a345a03d99 Added sorting to the labels & milestones page (#199) 8 years ago
Bwko f27d87d93b Added minimum password length to app.ini (#223) 8 years ago
Ethan Koenig d0932ef147 Bug fixes for Issues filters (#413)
Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
8 years ago
Ethan Koenig 8a4161c723 API Endpoint for watching (#191) 8 years ago
btrepp 25b5ffb6af 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>
8 years ago
Thomas Boerger f2ff0ee846 Raised version to 1.1.0 (#468) 8 years ago
Thomas Boerger 6aacf4d2f0 Properly handle drone tags and release/* branches (#466) 8 years ago
Thomas Boerger 7b67347104
Fixed drone tagging 8 years ago
Lunny Xiao b0c6217c4d Fix broken godoc link and add arch in English README (#463)
* fix broken godoc link and add arch in English README

* typo
8 years ago
Lunny Xiao eaa7b3c3f5 update zh readme (#462) 8 years ago
Thomas Boerger 770e8310bd 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
8 years ago
Thomas Boerger 1e6dd98d51 Integrated an initial changelog (#457) 8 years ago
Lunny Xiao a822bba3e1 Add default values for settings (#455)
* add default values for settings

* more default values

* more default settings and labels resource

* mv locale to options
8 years ago
Ethan Koenig ec1fe1183d Fix race condition in unit test (#456) 8 years ago
Joubert RedRat dfb547099d Change screenshoots to Gitea (#454) 8 years ago
Lunny Xiao a12da66dfb resolved #394 (#396) 8 years ago
Thomas Boerger b33078fa33 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
8 years ago
Lunny Xiao c21e2c4151 fix tag webhook 404 error (#420) 8 years ago
Lunny Xiao 0e1392501d 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
8 years ago
Lunny Xiao e0ecd9fd93 fix bug #1122 log.smtp receiver configure error (#3602) (#451) 8 years ago
Lunny Xiao 65b1875d2b 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
8 years ago
Lunny Xiao 11df7ebfc5 init script gentoo (#447)
* init script for gentoo (#3761)

* replace Gogs to Gitea

* remove override port number

* remove port
8 years ago
Lunny Xiao 47a7529d96 update code.gitea.io/git (#450) 8 years ago
Lunny Xiao 0c5c34d7dd 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
8 years ago
Ethan Koenig 4c89a9c33c Bug fixes and tests for modules/base (#442)
Also address other TODOs
8 years ago
Kim "BKC" Carlbäcker df7fa4e995 issue comment api fix (#449)
* ListAllInRepo & Delete Issue-Comments

* Moar data in issue-comments
8 years ago
Alexander Lunegov d5d21b67d2 Fix string format verbs (#3637) 8 years ago
Lunny Xiao c46eb3f5b3 Fix homepage docs link broken (#417)
* fix homepage docs link broken

* fix homepage docs links after docs updated
8 years ago