| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Repository avatars
- first variant of code from old work for gogs
- add migration 87
- add new option in app.ini
- add en-US locale string
- add new class in repository.less
* Add changed index.css, remove unused template name
* Update en-us doc about configuration options
* Add comments to new functions, add new option to docker app.ini
* Add comment for lint
* Remove variable, not needed
* Fix formatting
* Update swagger api template
* Check if avatar exists
* Fix avatar link/path checks
* Typo
* TEXT column can't have a default value
* Fixes:
- remove old avatar file on upload
- use ID in name of avatar file - users may upload same files
- add simple tests
* Fix fmt check
* Generate PNG instead of "static" GIF
* More informative comment
* Fix error message
* Update avatar upload checks:
- add file size check
- add new option
- update config docs
- add new string to en-us locale
* Fixes:
- use FileHEader field for check file size
- add new test - upload big image
* Fix formatting
* Update comments
* Update log message
* Removed wrong style - not needed
* Use Sync2 to migrate
* Update repos list view
- bigger avatar
- fix html blocks alignment
* A little adjust avatar size
* Use small icons for explore/repo list
* Use new cool avatar preparation func by @lafriks
* Missing changes for new function
* Remove unused import, move imports
* Missed new option definition in app.ini
Add file size check in user/profile avatar upload
* Use smaller field length for Avatar
* Use session to update repo DB data, update DeleteAvatar - use session too
* Fix err variable definition
* As suggested @lafriks - return as soon as possible, code readability
|
|
|
| |
Signed-off-by: Rob Watson <rfwatson@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
|
| |
* refactor: append, build variable and type switch
* fix: remove redundant space.
|
|
|
|
|
| |
* Fix LFS Locks over SSH
* Mark test as skipped
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* chore: change issue mail title.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* change to fullname method
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
|
|
|
|
|
|
| |
* Install page - detect invalid admin username before installing
* Also fix #6954
|
|
|
|
|
|
| |
* Handle insecure and ports in go get
* Fix IsExternalURL for non-standard ports
|
|
|
| |
NOTE: this commit only updates the english section
|
|
|
|
|
|
|
|
|
|
| |
* fix: Issuer of OTP URI should be URI-encoded.
follow this link https://github.com/google/google-authenticator/wiki/Key-Uri-Format .
* filter unsafe character ':' in issuer
* Use Replace rather than ReplaceAll
|
| |
|
| |
|
|
|
| |
This reverts commit 0c432d26fe20d3e50da566cf75fa483376ed8bef.
|
| |
|
|
|
|
| |
version 2 param if enabled (#7047)
|
| |
|
| |
|
| |
|
|
|
|
| |
* fix wrong init dependency on markup extensions
|
|
|
|
|
|
|
|
|
|
| |
* Bugfix: Align comment label and actions to the right
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* Restores relative position
* CSS autofixer
|
|
|
|
|
|
|
|
|
|
| |
* Crop avatar before resizing (#1268)
Signed-off-by: Rob Watson <rfwatson@users.noreply.github.com>
* Fix spelling error
Signed-off-by: Rob Watson <rfwatson@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
| |
* Disable arm7 builds
As arm6 works on arm7 platforms with no noticeable performance difference
* 386
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes #6960
According to [spec][1], /verify requests must have `Accept: application/vnd.git-lfs+json`
Previous code works because `git-lfs` also [violates spec and doesn't send any Accept header at all][2]
For other clients that DO set `Accept: application/vnd.git-lfs+json`, addition of `Accept: application/vnd.git-lfs`
either forces them to violate the spec or is ignored, depending on order in what they create header list.
[1]: https://github.com/git-lfs/git-lfs/blob/master/docs/api/basic-transfers.md#verification
[2]: https://github.com/git-lfs/git-lfs/issues/3662
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed #6542
When creating users DefaultAllowCreateOrganization was ignored.
Signed-off-by: Julian Picht <julian.picht@gmail.com>
* fix TestCreateUser_Issue5882
Signed-off-by: Julian Picht <julian.picht@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Show git-notes
* Make git-notes heading text localizable
* Refactor git-notes data fetching to a separate function
* Display the author and time of git notes
* Move note bubble inside the commit bubble
* Revert "Move note bubble inside the commit bubble"
This reverts commit c0951fe0e3b4dea38064515546b1825c1bcf19e1.
* Add test for git-notes
* testing ui
* Polish CSS
* Apply suggestions from code review
Co-Authored-By: Lauris BH <lauris@nix.lv>
|
| |
|
|
|
|
| |
Appended the Troubleshooting section with a subsection about the problems with the arm7 version and the recommendation to switch to arm6.
|
|
|
|
|
|
| |
* Change UpdateRepoIndex api to include watchers
* Add timeout
|
|
|
|
|
|
|
|
|
| |
* Fix documentation on Oauth2.Enable flag
The docs list this as ENABLED, but in the source code it's
ENABLE, meaning following the docs leads to confusion.
* Update sample config for oauth2.ENABLE
|
| |
|
|
|
|
|
|
|
|
| |
* Fix TestSearchRepo by waiting till indexing is done
* Update integrations/repo_search_test.go
* changes as per @mrsdizzie
|
|
|
|
|
|
|
|
| |
* make http connections resuable
* add error handler
* fix lint
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* fix index produces problem when issues/pulls deleted
* fix tests
* fix tests
* fix tests
|
|
|
|
|
|
| |
* Stop running hooks on pr merge
* Remove SSH_ORIGINAL_COMMAND from the pushing environment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove and disable package-lock
Using exact versions in package.json has the same effect as lockfiles
without all the troubles the lockfiles bring (different versions of
package manager generating different lockfiles primarily).
Ensured we only use exact versions in package.json and stopped
generation of new lockfiles via .npmrc which is support by both the npm
and yarn package managers.
Fixes: https://github.com/go-gitea/gitea/issues/6967
* enable save-exact
|
|
|
|
|
|
|
| |
Handle case where an orginization is private but a user who is not a
member of the orgninization has been added as a collaborator of a repo
within that org
Fixes #6962
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(#6953)
* 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
|
|
|
|
|
|
|
|
|
|
| |
(#6941)
* refactor models.NewRepoContext to extract git related codes to modules/git
* fix imports
* refactor
|
| |
|