- 16 May, 2019 1 commit
-
-
silverwind authored
* add make targets for js,css, add javascript linter - add `make js`, deprecating `make javascripts` - add `make css`, deprecating `make generate-stylesheets` and `make stylesheets-check` - changed the unclean css check to only run on CI - add JS linting via eslint with basic configuration and fixed discovered issues - changed autoprefixer to use official `postcss-cli` avoiding the need to loop in the makefile - moved browserslist to package.json so other future tools can use it too. - update documentation for new make targets and added JS section * fix indentation * move functions used in html to 'exported' list * Run lessc binary without having to install anything to node_modules * use relative paths to node bin scripts, removing npx * Revert "use relative paths to node bin scripts, removing npx" This reverts commit 119b725525a8430b32ee7a6e6009b4ece544e39b. * fix lessc and postcss plugins * check for node_modules and use actual bin names
-
- 15 May, 2019 5 commits
-
-
zeripath authored
-
GiteaBot authored
-
zeripath authored
-
techknowlogick authored
* Fix #6951 - logs show proper HTTP Method, and allow change HTTP method in form * enforce POST method for webhook * set default if method is empty
-
Lunny Xiao authored
* refactor models.NewRepoContext to extract git related codes to modules/git * fix imports * refactor
-
- 14 May, 2019 9 commits
-
-
Xaver Maierhofer authored
-
zeripath authored
Makes it possible to set the work path as a CLI option instead of relying on environment variables which are somewhat opaque
-
James E. Blair authored
When replicating to gitea from a remote system which makes use of git refs to store extra data (for example, gerrit), pushing a lot of refs to gitea can cause problems due to the extra processing that the pre and post receive hooks perform. But it's still useful for gitea to be able to serve those refs. This change skips unecessary processing of refs other than branches or tags. We don't need to check any ref that isn't a branch for branch protection (protection will never be enabled). So in the pre-receive hook, we wrap that check in a test for whether the ref is a branch. We also don't need to add information to the activity stream about pushes to non-standard refs, so we skip that step in the post-receive hook for refs which are not branches or tags. For some concrete examples, gerrit maintains a ref for every patchset of every change in the form refs/changes/XX/YYYY/Z. Many systems use refs/notes to store additonal data about commits. This change allows these and other schemes to be used without affecting gitea.
-
Lunny Xiao authored
-
Lunny Xiao authored
* move xorm logger bridge from log to models so that log module could be a standalone package * fix tests * save logger on xorm log bridge
-
Xaver Maierhofer authored
-
Lunny Xiao authored
-
Xaver Maierhofer authored
-
zeripath authored
-
- 13 May, 2019 8 commits
-
-
Lunny Xiao authored
-
Jakob Ackermann authored
-
Xaver Maierhofer authored
-
Xaver Maierhofer authored
-
GiteaBot authored
-
Tamal Saha authored
-
Xaver Maierhofer authored
-
Mura Li authored
-
- 12 May, 2019 3 commits
-
-
techknowlogick authored
-
GiteaBot authored
-
Xaver Maierhofer authored
-
- 11 May, 2019 6 commits
-
-
iliyan ivanov authored
-
zeripath authored
* Add options to git.Clone to make it more capable * Begin the process of removing the local copy and tidy up * Remove Wiki LocalCopy Checkouts * Remove the last LocalRepo helpers * Remove WithTemporaryFile * Enable push-hooks for these routes * Ensure tests cope with hooks Signed-off-by:
Andrew Thornton <art27@cantab.net> * Remove Repository.LocalCopyPath() * Move temporary repo to use the standard temporary path * Fix the tests Signed-off-by:
Andrew Thornton <art27@cantab.net> * Remove LocalWikiPath * Fix missing remove Signed-off-by:
Andrew Thornton <art27@cantab.net> * Use AppURL for Oauth user link (#6894) * Use AppURL for Oauth user link Fix #6843 * Update oauth.go * Update oauth.go * internal/ssh: ignore env command totally (#6825) * ssh: ignore env command totally * Remove commented code Needed fix described in issue #6889 * Escape the commit message on issues update and title in telegram hook (#6901) * update sdk to latest (#6903) * improve description of branch protection (fix #6886) (#6906) The branch protection description text were not quite accurate. * Fix logging documentation (#6904) * ENABLE_MACARON_REDIRECT should be REDIRECT_MACARON_LOG * Allow DISABLE_ROUTER_LOG to be set in the [log] section * [skip ci] Updated translations via Crowdin * Move sdk structs to modules/structs (#6905) * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
-
Lunny Xiao authored
* move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
-
GiteaBot authored
-
zeripath authored
* ENABLE_MACARON_REDIRECT should be REDIRECT_MACARON_LOG * Allow DISABLE_ROUTER_LOG to be set in the [log] section
-
Jannik Beyerstedt authored
The branch protection description text were not quite accurate.
-
- 10 May, 2019 2 commits
-
-
techknowlogick authored
-
zeripath authored
-
- 09 May, 2019 2 commits
-
-
Antoine GIRARD authored
* ssh: ignore env command totally * Remove commented code Needed fix described in issue #6889
-
techknowlogick authored
* Use AppURL for Oauth user link Fix #6843 * Update oauth.go * Update oauth.go
-
- 08 May, 2019 4 commits
-
-
Richard Mahn authored
-
John Olheiser authored
* New and improved Signed-off-by:
jolheiser <john.olheiser@gmail.com> * Add backport/original PR numbers Change wording for 500 error Signed-off-by:
jolheiser <john.olheiser@gmail.com>
-
Wim authored
Adds a new key DEFAULT_SHOW_FULL_NAME (default false) to the [ui] section. If enabled the full name will be shown (unless it's empty, then the default username will be used)
-
GiteaBot authored
-