aboutsummaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAge
* assets: convert usage of go-bindata to Go embed (#6851)Michael Li2022-03-17
| | | Co-authored-by: Joe Chen <jc@unknwon.io>
* Makefile: explicitly call go generate (#6269)ᴜɴᴋɴᴡᴏɴ2020-08-22
|
* email: check the owner when set as primary (#5988)ᴜɴᴋɴᴡᴏɴ2020-03-15
| | | | | | | * email: check the owner when set as primary Fixes a security issue reported by muxishuihan. * Update CHANGELOG
* public: make lessc compile minimize CSS (#5987)ᴜɴᴋɴᴡᴏɴ2020-03-15
|
* all: clean up dot files (#5983)ᴜɴᴋɴᴡᴏɴ2020-03-11
|
* ci: enable go vet check (#5981)ᴜɴᴋɴᴡᴏɴ2020-03-11
| | | | | * ci: enable go vet check * Improve .travis.yml
* conf: overhaul email settings (#5940)ᴜɴᴋɴᴡᴏɴ2020-02-25
|
* 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
* Makefile: generate Sourcemap for less filesᴜɴᴋɴᴡᴏɴ2020-02-19
| | | | [CI SKIP]
* docker: fix Docker Hub build failureᴜɴᴋɴᴡᴏɴ2020-02-18
|
* 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>
* Makefile: set -trimpath on buildUnknwon2019-10-25
| | | | [ci skip]
* internal: move packages under this directory (#5836)Unknwon2019-10-24
| | | | | | | | | | | | | | | | | | * Rename pkg -> internal * Rename routes -> route * Move route -> internal/route * Rename models -> db * Move db -> internal/db * Fix route2 -> route * Move cmd -> internal/cmd * Bump version
* Makefile: use go build to replace go installUnknwon2019-10-15
|
* Makefile: only read GOPATH from env varUnknwon2018-09-18
| | | | [ci skip]
* repo: add changes to repository avatar feature (#5221)Unknwon2018-06-17
|
* repo: support avatars (#5221)Sergey Dryabzhinsky2018-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First code for repository avatars * Last code for repository avatars - add new option for repo avatars location on filesystem - add route catch in web - add new fields to repo model - add migration - update settings handlers - update repo header template * Update locale messages * Add repo avatars to home page * Add repo avatars to organization right panel * Show repo avatars in repo list * Remove AvatarEamil field, remove Gravatar support, use generic locale messages * Fix migration * Fix seed and not used tool * Revert public css changes, add them to less files * Latest lessc (2.6.0) don't put result into file but output to stdout So redirect output to file * Simplify things: - migration don't needed, and table changes too - just upload file to repo avatar storage - or generate random image * Fix repo image seed - name not unique * Get rid of not needed model fields * Class value is enough, remove height attribute * Don't generate random avatar for repository - use html and semantic ui icons if no avatar found * Update styles and templates for repo - use repo icon as default avatar - use globe icon for public repos - add micro style for repo avatars at dashboard * Remvoe redundant empty line * Fix nl2br filter - must return string * Fix css style for micro-repo-avatar in dashboard list * Remove `|len`, works fine w/o it. * Update after review 2: - use static route for repository avatar - format images settings block in settings * Update after review 2: - no random avatar for repo * Update after review 2: - no random avatar for repo 2 - update imports - update UploadAvatar* functions * Update after review 2: - update templates * Fix trace call * Remove unused immport since we use static route for repo avatars.
* Makefile: fix make build failure when environment of GOPATH have multiple ↵Michael Li2018-06-04
| | | | | | | | | | | | | | | items (#5262) * fixed make build failure when enviroment of GOPATH have Multiple items gogs source in /other/path/to/go/src/github.com/gogs/gogs and then >cd /other/path/go/go/src/github.com/gogs/gogs >GOPATH=/path/to/go:/other/path/to/go make will also build success in this fixed code * in makefile rename gogits to gogs
* auth: support authentication source config file (#3142)Unknwon2018-04-12
|
* MISC: bump versionUnknwon2017-11-19
|
* Makefile: correct errorsUnknwon2017-07-14
|
* 2fa: initial support (#945)Unknwon2017-04-06
|
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* wiki: fix crash with blob name contains tab (#3916)Unknwon2017-02-16
|
* models/org_team: panic when team num_repos is negative (#3671)Unknwon2017-02-08
|
* Makefile: remove -buildmode=pieUnknwon2017-01-30
|
* Makefile: fix string concatenationUnknwon2017-01-30
|
* Produce a position independent executable (#4011)Aaron Wood2017-01-28
| | | | | | * Produce a position independent executable * Add OS detection to the main Makefile so we don't apply -pie on OS X
* Add all, check and dist Makefile rules (#3549)Sandro Santilli2016-08-30
| | | | These are to follow the GNU Coding Standards Makefile Targets: https://www.gnu.org/prep/standards/html_node/Standard-Targets.html
* Little code refactoringUnknwon2016-08-09
|
* Only do go vet on this codebaseUnknwon2016-08-06
|
* Ignore repository with issue disabled or use external tracker in dashboard ↵Unknwon2016-08-05
| | | | issues
* #1601 support delete issue commentUnknwon2016-07-26
|
* Make go's build flags a variableDan McGregor2016-03-15
| | | | | | | This allows the user to specify build flags from the make command line. For example to force a complete rebuild one could use: make BUILD_FLAGS='-v -a' TAGS="sqlite"
* Some minor changesUnknwon2016-03-06
|
* Remove cache avatar support and add its testsUnknwon2016-02-14
|
* Minor fix for #2567Unknwon2016-02-14
|
* Add command to run the test suite in Makefile.Andrey Nering2016-01-16
|
* stop compile bindata for TRANSLATORSUnknwon2016-01-11
| | | | - update required version of git-module for #2373
* #1692 APIs: Users FollowersUnknwon2015-12-21
| | | | | - User profile un/follow - List user's followers/following
* Makefile: Do not fail build on missing lesscAdam Strzelecki2015-12-09
| | | | | | | | | | | | | | | This is achieved by adding public/css/gogs.css to special .IGNORE target, which makes inability to generate/update gogs.css non-fatal and not stopping whole build process. User is still notified about missing lessc command though, since inability to update CSS may lead to potential problems: lessc public/less/gogs.less public/css/gogs.css make: lessc: No such file or directory make: [public/css/gogs.css] Error 1 (ignored) More info at: https://www.gnu.org/software/make/manual/html_node/Special-Targets.html
* Makefile: Remove trailing whitespace & add last LFAdam Strzelecki2015-12-01
| | | | This is pure cleanup commit.
* Makefile: Auto-build CSS & bin-data when necessaryAdam Strzelecki2015-12-01
| | | | | This will ensure that running `make` we will get all necessary files built and we do not need manually remember to rebuild them.
* Makefile: Copy installed binary instead 2nd buildAdam Strzelecki2015-12-01
| | | | | This speeds up single build/rebuild rather than install & build which compiles everything twice, we just copy installed binary back to the project root.
* go vet and fix #1890Unknwon2015-11-08
|
* add MakefileUnknwon2015-11-03