aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* build: requires Go 1.13ᴜɴᴋɴᴡᴏɴ2020-02-28
|
* public: fix jquery3.x syntax error (#5951)guan2020-02-28
| | | $.post().success -> $.post().done
* [ImgBot] Optimize images (#5943)imgbot[bot]2020-02-27
| | | | | | | | | | | | *Total -- 115.45kb -> 73.67kb (36.19%) /public/img/gogs-hero.png -- 58.29kb -> 34.18kb (41.37%) /public/img/favicon.png -- 57.15kb -> 39.48kb (30.91%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> Co-authored-by: Imgbot <help@imgbot.net> [CI SKIP]
* README: update acknowledgmentsᴜɴᴋɴᴡᴏɴ2020-02-27
| | | | [CI SKIP]
* public: update to new logoᴜɴᴋɴᴡᴏɴ2020-02-27
|
* conf: overhaul auth and user settings (#5942)ᴜɴᴋɴᴡᴏɴ2020-02-27
| | | | | | * conf: overhaul auth and user settings * ci: update travis Go versions
* api: support getting repository Git tree (#5934) (#5937)Bharat Nallan2020-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add basic git repository tree api (#5934) This PR adds the tree api endpoint to gogs api: `GET/repos/:owner/:repo/git/trees/:tree_sha` This new api endpoint that is being added is in conformance to the GitHub REST API v3 specification. Documentation can be found here: developer.github.com/v3/git/trees/#get-a-tree For a given user, repo and sha value, this api (currently) returns a single tree using the SHA1 value for that tree. - Recursive implementation is yet to be implemented. - Creating a Tree using POST is yet to be implemented. Example curl: ``` l curl -H "Authorization: token REDACTED" http://localhost:3000/api/v1/repos/root/testrepo/git/trees/c59441ded1549b149def0d4c54594d31a7f3718f -X GET | jq . % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 940 100 940 0 0 12034 0 --:--:-- --:--:-- --:--:-- 12051 [ { "sha": "c59441ded1549b149def0d4c54594d31a7f3718f", "tree": [ { "mode": "120000", "path": "/home/bharatnc/gogs-repositories/root/testrepo.git", "sha": "472ac2361b65136b393d652de25341e2ea44f299", "size": 1077, "type": "blob", "url": "http://localhost:3000/api/v1/repos/root/testrepo/git/trees/472ac2361b65136b393d652de25341e2ea44f299" }, { "mode": "120000", "path": "/home/bharatnc/gogs-repositories/root/testrepo.git", "sha": "70fcb456d436f08462602f26df6fb7e167e7a916", "size": 12, "type": "blob", "url": "http://localhost:3000/api/v1/repos/root/testrepo/git/trees/70fcb456d436f08462602f26df6fb7e167e7a916" }, { "mode": "120000", "path": "/home/bharatnc/gogs-repositories/root/testrepo.git", "sha": "092c58d4b63df5779a4d020b1fdbb762421bbb4f", "size": 380, "type": "blob", "url": "http://localhost:3000/api/v1/repos/root/testrepo/git/trees/092c58d4b63df5779a4d020b1fdbb762421bbb4f" } ], "url": "http://localhost:3000/api/v1/repos/root/testrepo/git/trees/c59441ded1549b149def0d4c54594d31a7f3718f" } ] ``` * remove vertical space * make go.mod to be same as in master * rename structs to sound better * simplify expressions and fix error msg * Update tree.go * Update tree.go * display file name instead of repo path * Update tree.go Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* docs: improve local development guideᴜɴᴋɴᴡᴏɴ2020-02-25
| | | | [CI SKIP]
* conf: overhaul email settings (#5940)ᴜɴᴋɴᴡᴏɴ2020-02-25
|
* cmd/web: fix wrong ExternalURL when specify port via CLI flagᴜɴᴋɴᴡᴏɴ2020-02-24
| | | | Fixes #5936.
* cmd/web: fix error when Unix socket not existsᴜɴᴋɴᴡᴏɴ2020-02-24
|
* README: add emoji to headingsᴜɴᴋɴᴡᴏɴ2020-02-23
| | | | [CI SKIP]
* css: add img margin-rightᴜɴᴋɴᴡᴏɴ2020-02-23
| | | | [CI SKIP]
* conf: overhaul security settingsᴜɴᴋɴᴡᴏɴ2020-02-22
|
* go.mod: update unknwon.dev/clog/v2 to v2.1.1ᴜɴᴋɴᴡᴏɴ2020-02-22
|
* docker: fix link to Docker Hubᴜɴᴋɴᴡᴏɴ2020-02-22
| | | | [CI SKIP]
* README: fix image and linkᴜɴᴋɴᴡᴏɴ2020-02-22
| | | | [CI SKIP]
* cmd: fix unable to find correct custom configᴜɴᴋɴᴡᴏɴ2020-02-22
|
* conf: overhaul database settingsᴜɴᴋɴᴡᴏɴ2020-02-22
|
* conf: overhaul repository settings (#5932)ᴜɴᴋɴᴡᴏɴ2020-02-22
|
* README: update headline and previewᴜɴᴋɴᴡᴏɴ2020-02-22
| | | [CI SKIP]
* admin/config: show all server and SSH optionsᴜɴᴋɴᴡᴏɴ2020-02-22
|
* conf: overhaul server settings (#5928)ᴜɴᴋɴᴡᴏɴ2020-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * conf: rename package * Requires Go 1.12 * Fix lint * Fix lint * Overhaul * db: fix tests * Save my work * Fix tests * Server.UnixSocketPermission * Server.LocalRootURL * SSH settings * Server.OfflineMode * Save my work * App.Version * Remove [server] STATIC_ROOT_PATH * Server.LandingURL
* docker: update link to Docker Hub and add info for gogs-rpiᴜɴᴋɴᴡᴏɴ2020-02-21
| | | | [CI SKIP]
* go.mod: update golang.org/x/crypto/ssh for security fixesᴜɴᴋɴᴡᴏɴ2020-02-21
|
* build: rename build tag miniwinsvc -> minwinsvcᴜɴᴋɴᴡᴏɴ2020-02-20
| | | | This was in fact a typo.
* log: migrate to unknwon.dev/clog/v2 (#5927)ᴜɴᴋɴᴡᴏɴ2020-02-20
| | | | | | * Add unknwon.dev/clog/v2 * Update all places
* conf: remove unused config option SHOW_FOOTER_VERSIONᴜɴᴋɴᴡᴏɴ2020-02-20
|
* CHANGELOG: add missing entry for ce1ec81d6fᴜɴᴋɴᴡᴏɴ2020-02-19
| | | | [CI SKIP]
* repo/editor: clean up tree pathᴜɴᴋɴᴡᴏɴ2020-02-19
| | | | Fixes a security issue reported by @zeripath.
* osutil: add unit testsᴜɴᴋɴᴡᴏɴ2020-02-19
|
* CHANGELOG: add missing entry for ea75f01ba2ᴜɴᴋɴᴡᴏɴ2020-02-19
| | | | [CI SKIP]
* .travis: fix config warningᴜɴᴋɴᴡᴏɴ2020-02-19
| | | | [CI SKIP]
* log: use trace level for some logsᴜɴᴋɴᴡᴏɴ2020-02-19
|
* admin: show all version in dashboardᴜɴᴋɴᴡᴏɴ2020-02-19
| | | | And removed version info from footer.
* Makefile: generate Sourcemap for less filesᴜɴᴋɴᴡᴏɴ2020-02-19
| | | | [CI SKIP]
* docs: add steps to install npm and lesscᴜɴᴋɴᴡᴏɴ2020-02-19
| | | | [CI SKIP]
* docs: improve set up guideᴜɴᴋɴᴡᴏɴ2020-02-19
| | | | [CI SKIP]
* docs: add local developmentᴜɴᴋɴᴡᴏɴ2020-02-18
| | | | [CI SKIP]
* docker: fix Docker Hub build failureᴜɴᴋɴᴡᴏɴ2020-02-18
|
* README: clean upᴜɴᴋɴᴡᴏɴ2020-02-18
|
* README: update Features listᴜɴᴋɴᴡᴏɴ2020-02-18
| | | | [CI SKIP]
* mailer: fix template not found errorᴜɴᴋɴᴡᴏɴ2020-02-18
|
* go.mod: update github.com/go-macaron/i18n to v0.5.0ᴜɴᴋɴᴡᴏɴ2020-02-18
| | | | Fixes a security issue reported by Dor Tumarkin, Security Researcher at Checkmarx.
* Add CHANGELOG and adopt new release workflowᴜɴᴋɴᴡᴏɴ2020-02-18
| | | | In development, the version now has +dev suffix indicates it is not a binary release.
* Use go-bindata to embed `public` and `templates` files into binary (#5920)Michael Li2020-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed private repositories are hidden in the organization's view * use go-bindata integrate public and templates files to gogs binary * optimize Dockerfile don't COPY public and templates files * use kevinburke's go-bindata to generate assets code * reset develepment as default run mode in configure file * optimize generated assets code relayout and help function * fixed code format * Update conf/app.ini * assets: add LICENSE headers * Some housekeeping * assets/public: simplify code logic * assets/templates: simplify code logic * cmd/web: more concise variable names * Minor changes * Add custom public and templates support back Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* README: fix phonemic transcription (#5916)Unknwon2020-02-07
| | | | [CI SKIP]
* README: add new sponsor BitLaunchUnknwon2020-02-07
| | | | [CI SKIP]
* db/repo: fix Git version check to 1.8.3Unknwon2020-02-04
|
* locale: sync from CrowdinUnknwon2020-02-04
|