]> source.dussan.org Git - gitea.git/log
gitea.git
9 years agoREAMDE: update
Unknwon [Sun, 1 Mar 2015 02:50:04 +0000 (21:50 -0500)]
REAMDE: update

9 years agomodels: done testing on new access system
Unknwon [Sun, 1 Mar 2015 02:44:09 +0000 (21:44 -0500)]
models: done testing on new access system

9 years agomodules/setting: simple behave change in startup
Unknwon [Fri, 27 Feb 2015 00:45:38 +0000 (19:45 -0500)]
modules/setting: simple behave change in startup

9 years agomodels: fix issue with transfer repository
Unknwon [Tue, 24 Feb 2015 05:27:22 +0000 (00:27 -0500)]
models: fix issue with transfer repository

README: fix typo

9 years agoMerge pull request #960 from phsmit/access_action
无闻 [Mon, 23 Feb 2015 18:51:02 +0000 (13:51 -0500)]
Merge pull request #960 from phsmit/access_action

Fix that owners also see actions on their repositories

9 years agov4 migration, merge 'dev', clean code and mirror fix
Unknwon [Mon, 23 Feb 2015 07:15:53 +0000 (02:15 -0500)]
v4 migration, merge 'dev', clean code and mirror fix

9 years agoMerge branch 'access' of github.com:gogits/gogs into access
Unknwon [Mon, 23 Feb 2015 04:34:05 +0000 (23:34 -0500)]
Merge branch 'access' of github.com:gogits/gogs into access

9 years agoMerge pull request #961 from phsmit/access_removecoll
无闻 [Mon, 23 Feb 2015 04:33:13 +0000 (23:33 -0500)]
Merge pull request #961 from phsmit/access_removecoll

Remove collaborators when removing and transferring repository

9 years agoMerge branch 'access' of github.com:gogits/gogs into access
Unknwon [Mon, 23 Feb 2015 03:55:35 +0000 (22:55 -0500)]
Merge branch 'access' of github.com:gogits/gogs into access

9 years agoMerge branch 'dev' of github.com:gogits/gogs into access
Unknwon [Mon, 23 Feb 2015 03:51:25 +0000 (22:51 -0500)]
Merge branch 'dev' of github.com:gogits/gogs into access

Conflicts:
gogs.go
models/models.go
models/user.go
templates/.VERSION
templates/org/home.tmpl

9 years agoMerge branch 'dev' of github.com:gogits/gogs into dev
Unknwon [Sun, 22 Feb 2015 23:24:52 +0000 (18:24 -0500)]
Merge branch 'dev' of github.com:gogits/gogs into dev

9 years agomodels: able to rename user with diff letter cases #981
Unknwon [Sun, 22 Feb 2015 23:24:49 +0000 (18:24 -0500)]
models: able to rename user with diff letter cases #981

- templates/org: mirror fix on name output
- routers: add missing error check

9 years agoMerge pull request #978 from albang/dev
无闻 [Sun, 22 Feb 2015 22:59:12 +0000 (17:59 -0500)]
Merge pull request #978 from albang/dev

[docker] openssh-client provide ssh-keygen.

9 years agoopenssh-client provide ssh-keygen. GOGS needs that binary to add a ssh key to a user
Alban Garrigue [Sun, 22 Feb 2015 15:42:59 +0000 (16:42 +0100)]
openssh-client provide ssh-keygen. GOGS needs that binary to add a ssh key to a user

9 years agoMerge branch 'dev' of github.com:gogits/gogs into dev
Unknwon [Sun, 22 Feb 2015 14:49:28 +0000 (09:49 -0500)]
Merge branch 'dev' of github.com:gogits/gogs into dev

9 years agorouters: able to migrate repo from local path
Unknwon [Sun, 22 Feb 2015 14:49:25 +0000 (09:49 -0500)]
routers: able to migrate repo from local path

- modules/middleware/context.go: add HandleAPI method

9 years agoMerge pull request #977 from albang/dev
无闻 [Sun, 22 Feb 2015 12:13:06 +0000 (07:13 -0500)]
Merge pull request #977 from albang/dev

$DIRECTORY variable is never set

9 years ago$DIRECTORY variable is never set
Alban Garrigue [Sun, 22 Feb 2015 12:06:46 +0000 (13:06 +0100)]
$DIRECTORY variable is never set

9 years agotemplates/org/home.tmpl: fix org member can't see public repo
Unknwon [Sun, 22 Feb 2015 08:07:04 +0000 (03:07 -0500)]
templates/org/home.tmpl: fix org member can't see public repo

9 years agoreword
Unknwon [Sun, 22 Feb 2015 05:12:55 +0000 (00:12 -0500)]
reword

9 years agomodules/git: able to parse RFC1123Z date format #663
Unknwon [Sun, 22 Feb 2015 04:37:32 +0000 (23:37 -0500)]
modules/git: able to parse RFC1123Z date format #663

9 years agoMerge branch 'dev' of github.com:gogits/gogs into dev
Unknwon [Sun, 22 Feb 2015 03:13:50 +0000 (22:13 -0500)]
Merge branch 'dev' of github.com:gogits/gogs into dev

9 years agotemplates/user/settings/emial.tmpl: little fix on UI
Unknwon [Sun, 22 Feb 2015 03:13:47 +0000 (22:13 -0500)]
templates/user/settings/emial.tmpl: little fix on UI

- routers/user: little code format
- conf/locale: update French locale

9 years agoMerge pull request #975 from nicolai86/bugfix/label-num_issues
无闻 [Sat, 21 Feb 2015 08:42:24 +0000 (03:42 -0500)]
Merge pull request #975 from nicolai86/bugfix/label-num_issues

Bugfix for wrong label count

9 years agoFix #933
Raphael Randschau [Fri, 20 Feb 2015 06:52:56 +0000 (07:52 +0100)]
Fix #933

Not sure why, but xorm ignores the num_issues and num_closed_issues
columns when updating, even though the values changed.

Listing them explicitly fixes the issue with the wrong issue counts

9 years agoMerge pull request #959 from phsmit/access_update
无闻 [Sat, 21 Feb 2015 07:55:30 +0000 (02:55 -0500)]
Merge pull request #959 from phsmit/access_update

Updating context and fixing permission issues

9 years agoMerge pull request #973 from uchti/dev
无闻 [Fri, 20 Feb 2015 23:25:18 +0000 (18:25 -0500)]
Merge pull request #973 from uchti/dev

Fix: 504 5.5.2 <localhost>: Helo command rejected

9 years agoadd error for hello func
Gogs [Fri, 20 Feb 2015 07:12:27 +0000 (10:12 +0300)]
add error for hello func

9 years agoMerge pull request #972 from makhov/the-new-new-highlighting
无闻 [Fri, 20 Feb 2015 00:33:25 +0000 (19:33 -0500)]
Merge pull request #972 from makhov/the-new-new-highlighting

fix typo mistake in highlighting

9 years agojs fix R1-L1 highlight
Alexey Makhov [Thu, 19 Feb 2015 08:08:47 +0000 (11:08 +0300)]
js fix R1-L1 highlight

9 years agoFix: 504 5.5.2 <localhost>: Helo command rejected
Gogs [Thu, 19 Feb 2015 07:47:05 +0000 (10:47 +0300)]
Fix: 504 5.5.2 <localhost>: Helo command rejected

9 years agofix typo mistake
Alexey Makhov [Thu, 19 Feb 2015 07:19:10 +0000 (10:19 +0300)]
fix typo mistake

9 years agoMerge pull request #970 from makhov/the-new-new-highlighting
无闻 [Thu, 19 Feb 2015 02:55:57 +0000 (21:55 -0500)]
Merge pull request #970 from makhov/the-new-new-highlighting

The new new highlighting

9 years agoremove not using vars
Alexey Makhov [Wed, 18 Feb 2015 21:55:17 +0000 (00:55 +0300)]
remove not using vars

9 years agogitlab-like hash naming
Alexey Makhov [Wed, 18 Feb 2015 21:52:22 +0000 (00:52 +0300)]
gitlab-like hash naming

9 years agoMerge pull request #968 from Stefan-Code/dev
无闻 [Wed, 18 Feb 2015 10:33:58 +0000 (05:33 -0500)]
Merge pull request #968 from Stefan-Code/dev

Changed repo-clone url behavior on bare repo page, added LESS compile script

9 years agoMerge branch 'dev' of https://github.com/gogits/gogs into dev
Stefan-Code [Wed, 18 Feb 2015 10:12:41 +0000 (11:12 +0100)]
Merge branch 'dev' of https://github.com/gogits/gogs into dev

9 years agochanged repo-clone-url behaviour for bare repo
Stefan-Code [Wed, 18 Feb 2015 07:22:13 +0000 (08:22 +0100)]
changed repo-clone-url behaviour for bare repo

9 years agoUpdate/simplify fix that owners also see actions on their repositories
Peter Smit [Wed, 18 Feb 2015 06:59:22 +0000 (08:59 +0200)]
Update/simplify fix that owners also see actions on their repositories

9 years agoadded less compile script
Stefan-Code [Wed, 18 Feb 2015 06:20:06 +0000 (07:20 +0100)]
added less compile script

9 years agoMerge pull request #962 from phsmit/dont_mention_php
无闻 [Wed, 18 Feb 2015 04:19:25 +0000 (23:19 -0500)]
Merge pull request #962 from phsmit/dont_mention_php

Remove the "PHP" style formatting function

9 years agoMerge pull request #958 from phsmit/fix_mirror_access
无闻 [Wed, 18 Feb 2015 04:09:53 +0000 (23:09 -0500)]
Merge pull request #958 from phsmit/fix_mirror_access

Make sure that a mirror can't be written to by http or ssh

9 years agoMerge pull request #963 from phsmit/goget
无闻 [Tue, 17 Feb 2015 21:18:26 +0000 (16:18 -0500)]
Merge pull request #963 from phsmit/goget

Remove GoGet option from repository and handle it with ?go-get=1 instead

9 years agoRemove GoGet option from repository and handle it with ?go-get=1 instead
Peter Smit [Tue, 17 Feb 2015 08:36:17 +0000 (10:36 +0200)]
Remove GoGet option from repository and handle it with ?go-get=1 instead

The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.

9 years agoRemove the "PHP" style formatting function
Peter Smit [Mon, 16 Feb 2015 12:44:27 +0000 (14:44 +0200)]
Remove the "PHP" style formatting function

The "PHP" formatting function doesn't add anything, except an undocumented date format.

All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.

9 years agoRemove collaborators when removing and transferring repository
Peter Smit [Mon, 16 Feb 2015 11:25:55 +0000 (13:25 +0200)]
Remove collaborators when removing and transferring repository

9 years agoFix that owners also see actions on their repositories
Peter Smit [Mon, 16 Feb 2015 11:16:24 +0000 (13:16 +0200)]
Fix that owners also see actions on their repositories

This is a balance between speed and nice code, where speed has won. To prevent a repository query for each action the ownername is match with the current user.

It would be "cleaner" or "better" if we fetch the repository each time. Another option is to add the RepoOwnerID to action

9 years agoUpdating context and fixing permission issues
Peter Smit [Mon, 16 Feb 2015 10:51:56 +0000 (12:51 +0200)]
Updating context and fixing permission issues

The boolean flags in the repo context have been replaced with mode and two methods

Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.

9 years agoMake sure that a mirror can't be written to by http or ssh
Peter Smit [Mon, 16 Feb 2015 10:00:06 +0000 (12:00 +0200)]
Make sure that a mirror can't be written to by http or ssh

9 years agoupdate travis.yml
Unknwon [Mon, 16 Feb 2015 07:51:39 +0000 (02:51 -0500)]
update travis.yml

9 years agomodules/setting: add abs path check before add workdir prefix
Unknwon [Sat, 14 Feb 2015 22:49:33 +0000 (17:49 -0500)]
modules/setting: add abs path check before add workdir prefix

9 years agoMerge pull request #956 from bpollack/docfix
无闻 [Sat, 14 Feb 2015 22:07:38 +0000 (17:07 -0500)]
Merge pull request #956 from bpollack/docfix

Fix a bunch of small typos and formatting quirks

9 years agomodels: fix XORM API break
Unknwon [Sat, 14 Feb 2015 22:01:33 +0000 (17:01 -0500)]
models: fix XORM API break

cmd/web.go: check version after load config

9 years agoFix a bunch of small typos and formatting quirks
Benjamin Pollack [Sat, 14 Feb 2015 20:31:07 +0000 (15:31 -0500)]
Fix a bunch of small typos and formatting quirks

9 years agorouters/install.go: able to keep previous custom settings for 2nd time install
Unknwon [Fri, 13 Feb 2015 21:48:23 +0000 (16:48 -0500)]
routers/install.go: able to keep previous custom settings for 2nd time install

- .gopmfile: update all commits

9 years agoMerge pull request #951 from phsmit/fix_team_update
无闻 [Fri, 13 Feb 2015 21:25:18 +0000 (16:25 -0500)]
Merge pull request #951 from phsmit/fix_team_update

Fix access for team mode update

9 years agoFix access for team mode update
Peter Smit [Fri, 13 Feb 2015 21:12:33 +0000 (23:12 +0200)]
Fix access for team mode update

9 years agoconf/locale: update all locales
Unknwon [Fri, 13 Feb 2015 20:48:10 +0000 (15:48 -0500)]
conf/locale: update all locales

9 years agoMerge pull request #949 from phsmit/different_access_migration
无闻 [Fri, 13 Feb 2015 20:15:09 +0000 (15:15 -0500)]
Merge pull request #949 from phsmit/different_access_migration

Rewrite of access migration

9 years agoRewrite of access migration
Peter Smit [Fri, 13 Feb 2015 11:58:19 +0000 (13:58 +0200)]
Rewrite of access migration

The old migration had a few issues:
 - It left old column names around
 - It did not give the right access levels for owners and admins

Also, this includes a migration that fixes the authorization of owner teams, which was previously ORG_ADMIN (instead of ORG_OWNER)

9 years agosome fixes, but not done yet!
Unknwon [Fri, 13 Feb 2015 07:56:42 +0000 (02:56 -0500)]
some fixes, but not done yet!

9 years agofix mirror issues uncaught #941
Unknwon [Fri, 13 Feb 2015 07:14:57 +0000 (02:14 -0500)]
fix mirror issues uncaught #941

9 years agocode fix #941 caution: undertest
Unknwon [Fri, 13 Feb 2015 05:58:46 +0000 (00:58 -0500)]
code fix #941 caution: undertest

9 years agomodels/migrations: finish accessRefactor
Unknwon [Fri, 13 Feb 2015 03:43:32 +0000 (22:43 -0500)]
models/migrations: finish accessRefactor

9 years agoMerge pull request #941 from phsmit/access_refactor
无闻 [Fri, 13 Feb 2015 02:34:27 +0000 (21:34 -0500)]
Merge pull request #941 from phsmit/access_refactor

Access refactor

9 years agomodels/migrations: fix little logic error
Unknwon [Thu, 12 Feb 2015 17:46:21 +0000 (12:46 -0500)]
models/migrations: fix little logic error

9 years agoMerge pull request #940 from phsmit/migration_update
无闻 [Thu, 12 Feb 2015 17:42:51 +0000 (12:42 -0500)]
Merge pull request #940 from phsmit/migration_update

Some comments and improvements for migrations

9 years agotemplates/user/auth/signin.tmpl: hide sign up prompt when registration is disabled...
Unknwon [Thu, 12 Feb 2015 17:38:44 +0000 (12:38 -0500)]
templates/user/auth/signin.tmpl: hide sign up prompt when registration is disabled #884

9 years agoMerge remote-tracking branch 'mine/access_refactor' into access_refactor
Peter Smit [Thu, 12 Feb 2015 12:25:07 +0000 (14:25 +0200)]
Merge remote-tracking branch 'mine/access_refactor' into access_refactor

Conflicts:
cmd/serve.go
models/access.go
models/migrations/migrations.go
models/org.go
models/repo.go
models/user.go
modules/middleware/org.go
modules/middleware/repo.go
routers/api/v1/repo.go
routers/org/teams.go
routers/repo/http.go
routers/user/home.go

9 years agoRefactoring of the Access Table
Peter Smit [Thu, 5 Feb 2015 13:29:08 +0000 (15:29 +0200)]
Refactoring of the Access Table

This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.

The result does compile, but has not been tested. It may eat your kittens.

9 years agoSome comments and improvements for migrations
Peter Smit [Thu, 12 Feb 2015 11:54:34 +0000 (13:54 +0200)]
Some comments and improvements for migrations

9 years agomodels/migartions: make Migration as interface and use session
Unknwon [Thu, 12 Feb 2015 04:10:30 +0000 (23:10 -0500)]
models/migartions: make Migration as interface and use session

9 years agofirst pass work on migration #925
Unknwon [Thu, 12 Feb 2015 02:58:37 +0000 (21:58 -0500)]
first pass work on migration #925

9 years agoMerge branch 'dev' of github.com:gogits/gogs into access
Unknwon [Thu, 12 Feb 2015 00:25:59 +0000 (19:25 -0500)]
Merge branch 'dev' of github.com:gogits/gogs into access

9 years agoMerge branch 'access' of github.com:gogits/gogs into access
Unknwon [Wed, 11 Feb 2015 17:43:43 +0000 (12:43 -0500)]
Merge branch 'access' of github.com:gogits/gogs into access

9 years agoMerge pull request #925 from phsmit/newcollaboration
无闻 [Wed, 11 Feb 2015 17:43:13 +0000 (12:43 -0500)]
Merge pull request #925 from phsmit/newcollaboration

Collaboration

9 years agoMerge pull request #937 from Stefan-Code/dev
无闻 [Wed, 11 Feb 2015 17:27:29 +0000 (12:27 -0500)]
Merge pull request #937 from Stefan-Code/dev

Changes to repo-header-download-drop

9 years agobetter naming on #891
Unknwon [Wed, 11 Feb 2015 17:04:01 +0000 (12:04 -0500)]
better naming on #891

9 years agoChanges to repo-header-download-drop, different repo-clone-url input behaviour
Stefan-Code [Wed, 11 Feb 2015 06:28:51 +0000 (07:28 +0100)]
Changes to repo-header-download-drop, different repo-clone-url input behaviour

9 years agomodels: make code change for session issue with SQLite3 #739
Unknwon [Wed, 11 Feb 2015 04:44:16 +0000 (23:44 -0500)]
models: make code change for session issue with SQLite3 #739

9 years agomodules/middleware/auth.go: remove uncheck login for watch a repo #929
Unknwon [Wed, 11 Feb 2015 03:53:46 +0000 (22:53 -0500)]
modules/middleware/auth.go: remove uncheck login for watch a repo #929

9 years agoable to allow insecure certification of webhook for #891
Unknwon [Wed, 11 Feb 2015 02:06:59 +0000 (21:06 -0500)]
able to allow insecure certification of webhook for #891

9 years agoupdate gopmfile and README
Unknwon [Mon, 9 Feb 2015 18:32:22 +0000 (13:32 -0500)]
update gopmfile and README

9 years agomodels/repo.go: add update hook when migrate for #789
Unknwon [Mon, 9 Feb 2015 17:42:53 +0000 (12:42 -0500)]
models/repo.go: add update hook when migrate for #789

9 years agotemplates/ng/base: change year to 2015, fix #928
Unknwon [Mon, 9 Feb 2015 16:04:17 +0000 (11:04 -0500)]
templates/ng/base: change year to 2015, fix #928

- conf/locale: update Japanese locale

9 years agoMerge pull request #924 from phsmit/fix_921
无闻 [Mon, 9 Feb 2015 15:54:24 +0000 (10:54 -0500)]
Merge pull request #924 from phsmit/fix_921

Fixes #921

9 years agoMerge pull request #923 from phsmit/fix_922
无闻 [Mon, 9 Feb 2015 15:45:41 +0000 (10:45 -0500)]
Merge pull request #923 from phsmit/fix_922

Fix #922

9 years agoChange constants to UPPERCASE_WITH_UNDERSCORE style
Peter Smit [Mon, 9 Feb 2015 11:36:33 +0000 (13:36 +0200)]
Change constants to UPPERCASE_WITH_UNDERSCORE style

9 years agoFixes #921
Peter Smit [Mon, 9 Feb 2015 10:56:46 +0000 (12:56 +0200)]
Fixes #921

Fixes #921 and makes the Mention regexp be in line with the others

9 years agoImprove argument parsing for serve command
Peter Smit [Mon, 9 Feb 2015 10:32:42 +0000 (12:32 +0200)]
Improve argument parsing for serve command

9 years agoFix #922
Peter Smit [Mon, 9 Feb 2015 10:27:15 +0000 (12:27 +0200)]
Fix #922

9 years agoMerge pull request #911 from TonyTsangHK/dev
无闻 [Mon, 9 Feb 2015 05:31:16 +0000 (00:31 -0500)]
Merge pull request #911 from TonyTsangHK/dev

Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.

9 years agomodules/setting: mirror path issue
Unknwon [Mon, 9 Feb 2015 03:23:01 +0000 (22:23 -0500)]
modules/setting: mirror path issue

9 years agocmd: code fix for #905
Unknwon [Mon, 9 Feb 2015 02:26:14 +0000 (21:26 -0500)]
cmd: code fix for #905

- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)

9 years agoMerge pull request #905 from phsmit/conf_on_cli
无闻 [Mon, 9 Feb 2015 01:22:02 +0000 (20:22 -0500)]
Merge pull request #905 from phsmit/conf_on_cli

Add option to provide configuration file on command line

9 years agomodules/ans1-ber: fix LDAP UTF8 string decoding for #916
Unknwon [Sun, 8 Feb 2015 19:39:54 +0000 (14:39 -0500)]
modules/ans1-ber: fix LDAP UTF8 string decoding for #916

9 years agopublic/ng/css: code generation for #919
Unknwon [Sun, 8 Feb 2015 18:00:22 +0000 (13:00 -0500)]
public/ng/css: code generation for #919

9 years agoMerge pull request #919 from Stefan-Code/dev
无闻 [Sun, 8 Feb 2015 17:51:58 +0000 (12:51 -0500)]
Merge pull request #919 from Stefan-Code/dev

Updated gogs.css - monospace font for hash

9 years agoconf/locale: add Spanish locale
Unknwon [Sun, 8 Feb 2015 17:39:11 +0000 (12:39 -0500)]
conf/locale: add Spanish locale

9 years agoUpdated gogs.css - monospace font for hash
Stefan [Sun, 8 Feb 2015 16:38:10 +0000 (17:38 +0100)]
Updated gogs.css - monospace font for hash

Updated gogs.css to use monospaced font for sha hash label in repository view to make it look nicer because of equal label width.