Commit Graph
1530 Commits
Author SHA1 Message Date
Dmitriy Zaporozhets 50e8d6c0c0 Add api to collect owned user projects. Api deploy_key.create: Enable deploy key if it exist in other owned project 2013-06-03 19:49:04 +03:00
Angus MacArthur 5f4fea17ad Correction to restore expected current directory 2013-06-03 11:00:24 -04:00
Andrey Kumanyaev 41f88f468a No check access if no relation between user and project 2013-06-01 19:40:20 +04:00
Andrey Kumanyaev 08c2c94d46 Fix bug with team assignation on project from #4109 2013-06-01 19:24:15 +04:00
Angus MacArthur 9c82bca5ee fixes for gitlab restore with non-standard backup and repo dirs
These fixes will allow a restore of gitlab when the backups and
repositories directories are in non-standard locations (ie sub-dirs
of gitlabhq).  Also allows the restore to be run from script
overriding the need of a user to confirm the rebuild of the
authorized_keys file.
2013-05-30 09:58:36 -04:00
Dmitriy Zaporozhets 888e493b82 Update membership instead of remove/add if it permissions were changed 2013-05-30 11:40:15 +03:00
Dmitriy Zaporozhets 31fdcac161 UserTeam: Fixed bug when impossible to change admin flag after checked 2013-05-30 11:25:34 +03:00
Dmitriy Zaporozhets 6e5b1686f4 TeamManagement: Dont update permissions if it was not changed 2013-05-30 11:13:38 +03:00
Dmitriy Zaporozhets cd5685ca8c Merge pull request #4115 from bke-drewb/apidocs
Update api docs and remove old attribute from User entity.
2013-05-29 23:25:40 -07:00
Dmitriy Zaporozhets 56ddf93f8e Merge pull request #4101 from bassrock/master
Update suggestion for Check.rake
2013-05-29 23:24:56 -07:00
Drew Blessing 07fd95f384 Update api docs and remove old attribute from User entity.
The API docs incorrectly referenced a few attributes associated with users. The 'blocked' attribute has been replaced with 'state'. Also, 'dark_scheme' seems to no longer be available in the User model so it should be removed from the exposed attributes in the API User entity.

Add color scheme ID to API User entity
2013-05-29 05:40:17 -05:00
Dmitriy Zaporozhets 6e96120337 Merge pull request #4098 from pguridi/jira
Jira - Fixed Jira Issue tracker support
2013-05-29 03:20:13 -07:00
Dmitriy Zaporozhets df67b25bc2 init.d: Ensure socket is removed before starting service 2013-05-28 17:09:01 +03:00
Pedro GuridiandPedro Guridi 5ec3129ea6 Changed regex to support Jira issue numbering format
Jira issues numbering format are like: "PROJECT-1234".
Changed the regular expression to support Jira issues linking, in addition to the normal #123.

Added Jira Issue tracker configuration example
2013-05-27 16:51:37 -03:00
bassrock 3db67ff09c Update check.rake 2013-05-27 13:30:54 -06:00
Dmitriy Zaporozhets 8b64df58b9 Merge pull request #4067 from bbodenmiller/patch-5
add code comment about backing up folder when restoring
2013-05-27 08:26:51 -07:00
Dmitriy Zaporozhets 9351a295c1 Up grape version. Fix issue with raw content being escaped 2013-05-27 17:14:47 +03:00
Dmitriy Zaporozhets ec1055076c Merge branch 'add-defaults-create-group-team' of https://github.com/dmedvinsky/gitlabhq into dmedvinsky-add-defaults-create-group-team
Conflicts:
	config/gitlab.yml.example
2013-05-27 15:17:06 +03:00
Dmitriy Zaporozhets c3ba0ee64b Merge branch 'feature_teams_api' of https://github.com/former03/gitlabhq into former03-feature_teams_api
Conflicts:
	doc/api/README.md
2013-05-27 15:05:01 +03:00
Ben Bodenmiller d0b04b03b4 clarify restore 2013-05-27 04:35:54 -07:00
James E. Flemer 5f9d78fdff Include groups in import with import repos rake task
Expand the import glob to include `**/*.git` to find projects in groups
as well as top level projects.  Check for existing group, and create
group if needed.  Set namespace_id for imported projects.
2013-05-25 11:38:55 -06:00
Dmitriy Zaporozhets 63c6f30aba Fix ldap auth for http push 2013-05-24 20:36:28 +03:00
Dmitriy Zaporozhets 76ffd11684 Merge pull request #3964 from mhfan/improve-sidekiq-check
improve regrex for match(sidekiq) robustness
2013-05-23 02:27:34 -07:00
Dmitriy Zaporozhets 068cf2f467 split repositories and projects api 2013-05-23 12:23:47 +03:00
Christian Simon 0ebfa5e5a2 [FEATURE] Basic user_teams api
* Closing #3066
 * Closing #3609
2013-05-21 23:13:30 +02:00
Ben Bodenmiller de29a424e6 changed Gitlab to GitLab 2013-05-19 02:13:39 -07:00
Dmitry Medvinsky 22279bc558 Add settings for user permission defaults
“Can create groups” and “Can create teams” had hardcoded defaults to
`true`. Sometimes it is desirable to prohibit these for newly created
users by default.
2013-05-16 18:02:22 +04:00
Dmitriy Zaporozhets 31f007f79f Fix skipping of some elements in makrdown 2013-05-16 12:54:10 +03:00
Dmitriy Zaporozhets 36b2f2e3c2 add deploy recipe extracted from staging server 2013-05-16 12:45:30 +03:00
MeiHui FAN dfe082fa1d improve regrex for match(sidekiq) robustness
e.g.: the sidekiq in my Debian box is v2.11.1
2013-05-16 17:26:15 +08:00
Dmitriy Zaporozhets 0fccee82b7 Dont parse gfm-extractions as commit. Increase gfm rendering speed. Especially for a lot of code snippets 2013-05-16 12:15:42 +03:00
Dmitriy Zaporozhets 634cbd7138 Refactor API classes. So api classes like Gitlab::Issues become API::Issues 2013-05-14 15:33:31 +03:00
Sato Hiroyuki 06805fff14 Config setting should be used in git version check. 2013-05-14 19:55:08 +09:00
Dmitriy Zaporozhets e8b963fc32 Merge pull request #3858 from abalkin/issue-3857
Save backup time as is.  Fixes #3857.
2013-05-13 09:11:54 -07:00
Dmitriy Zaporozhets 81e6029406 Merge pull request #3897 from LyleE/puma-config-environment-fix
Fixed puma.rb environment setting
2013-05-13 09:10:22 -07:00
Dmitriy Zaporozhets 419d1eac1f Merge pull request #3903 from frlan/master
A small update of nginx example config to prevent users from issues while nginx not listen on localhost
2013-05-13 08:59:23 -07:00
Sato Hiroyuki c0e3b39792 Set @options in assing_ref_vars
@options enable to keep params when switching ref.
2013-05-13 18:44:33 +09:00
Sato Hiroyuki 97a9c2293a Refactor: remove dup code 2013-05-13 18:41:04 +09:00
Dmitriy Zaporozhets 0a4a6f5921 Merge pull request #3918 from joeandaverde/unsanitized
System calls to gitlab-shell were using unsanitized user input
2013-05-13 02:08:00 -07:00
Joe Andaverde ba21546a58 System calls were using unsanitized user input 2013-05-12 09:11:09 -05:00
baba 320f0ac856 Migrate notes.line_code format.
Since version 4.1, notes.line_code means:
  {SHA1 hash of file path}_{old line}_{new line}
but the older version means:
  {file index of the commit}_{old line}_{new line}

This rake task migrate the above differences.
2013-05-11 16:53:07 +09:00
Frank Lanitz aba29ab94c Adding a short hint to *:80 for default listen address on nginx example config
Based on posting https://github.com/gitlabhq/gitlabhq/issues/3384#issuecomment-15457287 I was able to solved an issue here. Pointing out *:80 might could prevent others for struggeling here
2013-05-10 17:45:02 +02:00
Lyle Entwistle 85e784cc1d Fixed puma.rb environment setting, no need to specify 'production' in daemon options now 2013-05-09 17:41:00 +01:00
Dmitriy Zaporozhets 9fdcdb774f Move blob_snippet to gitlab_git gem 2013-05-09 11:47:09 +03:00
Javier CastroandDmitriy Zaporozhets 7f57fe5034 Implemented code search feature 2013-05-09 11:47:08 +03:00
rezigned 76d958ebe7 Update init.d script
The original init.d script uses a fixed username (e.g. git). Which is not flexible
when we using other user. So, I've updated it to use $APP_USER variable
instead and wrap it in a function to reduce repetitive codes.
2013-05-09 12:37:56 +07:00
Lev AbalkinandAlexander Belopolsky cef76fdd17 Save backup time as is. Fixes #3857. 2013-05-08 16:42:29 -04:00
Sato Hiroyuki 862e0ff6b8 Add Gitlab::VersionInfo class to fix and simplify version check.
It returns "yes" if required version is "1.7.10" and current version is "1.6.10",
because the patch version of current version equals to that of required version.
2013-05-08 17:36:48 +09:00
Dmitriy Zaporozhets 2e9599b746 Merge branch 'master' of github.com:gitlabhq/gitlabhq 2013-05-07 21:28:16 +03:00
Dmitriy Zaporozhets 03441769df Include default labels in issues autocomplete etc. Show colored labels on issues show page 2013-05-07 19:26:41 +03:00