Douwe Maan
|
844cca4a1e
|
Add Git hook to validate maximum file size.
|
2015-06-09 10:23:38 +02:00 |
|
Marin Jankovski
|
c490430f55
|
Fix leftover user checks for git_annex after refactoring
|
2015-05-22 14:46:44 +02:00 |
|
Dmitriy Zaporozhets
|
1af8b1e4f8
|
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
Conflicts:
app/views/help/index.html.haml
lib/gitlab/git_access.rb
public/500.html
public/502.html
|
2015-05-15 13:29:58 +03:00 |
|
Douwe Maan
|
c5e4b443ff
|
Fix GitAccess.
|
2015-05-13 09:46:22 +02:00 |
|
Douwe Maan
|
1f72c387c9
|
Improve Git access error messages.
|
2015-05-13 09:41:55 +02:00 |
|
Douwe Maan
|
fbb011be38
|
Merge branch 'license' into 'master'
Allow license to be uploaded and enforce its validity.
Addresses #274.
Still a work in progress, there are no tests yet, some things need extra validation or prettier error messages, and we're not doing anything to enforce active user count yet. Still, the flow stands! Let me know what you think :)
- [x] Check active user count at moment of upload
- [x] Prettier validation / error message when license is invalid
- [x] Prettier error when public key is invalid
- [x] Tests
- [x] Work on copy
These will go into separate MRs as they require more discussion:
- Check historic active user count over past year
- Add application setting to disallow creating/activating new user when limit is reached
-----
No license:

Also shown when pushing code:

The "Upload a new license in the admin area" part is only for admins, regular users will see "Ask an admin to upload a new license".
Upload page in admin area:

License details in admin area:

Notice of a license that will expire: Also notice the license history at the bottom.

Notice of an expired license:

cc @dzaporozhets @sytse
See merge request !383
|
2015-05-07 18:54:47 +00:00 |
|
Douwe Maan
|
359c039b6e
|
Fix Git access check.
|
2015-05-05 16:27:21 +02:00 |
|
Douwe Maan
|
4dfaed34b2
|
Skip git hooks commit validation when pushing new tag.
|
2015-05-05 15:44:36 +02:00 |
|
Douwe Maan
|
d1f2b09fad
|
Allow license to be uploaded and enforce its validity.
|
2015-05-01 14:52:30 +02:00 |
|
Dmitriy Zaporozhets
|
3840549566
|
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
Conflicts:
app/assets/javascripts/dispatcher.js.coffee
features/admin/settings.feature
features/steps/admin/settings.rb
features/steps/user.rb
features/user.feature
lib/gitlab/git_access.rb
|
2015-03-25 09:16:09 -07:00 |
|
Dmitriy Zaporozhets
|
f729f60447
|
Merge branch 'more-rubocop-styles' into 'master'
More rubocop styles
See merge request !449
|
2015-03-25 15:37:04 +00:00 |
|
Dmitriy Zaporozhets
|
69454e36f7
|
Style/RedundantReturn enabled
|
2015-03-24 18:35:57 -07:00 |
|
Douwe Maan
|
4830b2be5e
|
Refactor GitAccess to use instance variables.
|
2015-03-24 14:11:48 +01:00 |
|
Dmitriy Zaporozhets
|
be4d340381
|
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
Conflicts:
Gemfile.lock
app/controllers/uploads_controller.rb
app/models/application_setting.rb
app/models/project_services/issue_tracker_service.rb
app/views/projects/services/_form.html.haml
db/schema.rb
doc/integration/README.md
features/steps/groups.rb
|
2015-03-11 18:41:41 -07:00 |
|
Douwe Maan
|
383c56efa1
|
Use Gitlab::Git helper methods and constants as much as possible.
|
2015-03-10 13:39:31 +01:00 |
|
Dmitriy Zaporozhets
|
29611a245d
|
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
Conflicts:
GITLAB_SHELL_VERSION
VERSION
lib/api/entities.rb
lib/api/groups.rb
|
2015-02-18 17:44:29 -08:00 |
|
Douwe Maan
|
3d6b042e9e
|
Fix push access check when not signed in.
|
2015-02-18 21:59:15 +01:00 |
|
Dmitriy Zaporozhets
|
12f144a128
|
Add git-annex support to GitAccess
|
2015-02-16 22:55:51 -08:00 |
|
Dmitriy Zaporozhets
|
9b140b22fb
|
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-into-ee
Conflicts:
Gemfile.lock
app/helpers/tab_helper.rb
config/routes.rb
db/schema.rb
|
2015-02-04 18:19:22 -08:00 |
|
Dmitriy Zaporozhets
|
61cc6a9244
|
Rubocop: indentation fixes Yay!!!
|
2015-02-02 21:59:28 -08:00 |
|
Dmitriy Zaporozhets
|
7d48205c1a
|
Rubocop: comment indentation
|
2015-02-02 21:34:16 -08:00 |
|
Marin Jankovski
|
3e875b05b4
|
Merge remote-tracking branch 'ce/master' into merge_ce
Conflicts:
Gemfile
Gemfile.lock
app/assets/javascripts/project_new.js.coffee
app/controllers/projects_controller.rb
app/models/group.rb
app/models/project.rb
app/models/project_services/jira_service.rb
app/models/project_team.rb
app/models/user.rb
app/services/files/create_service.rb
app/views/layouts/nav/_admin.html.haml
config/routes.rb
db/schema.rb
spec/models/jira_service_spec.rb
spec/requests/api/projects_spec.rb
|
2015-01-29 11:34:43 -08:00 |
|
Dmitriy Zaporozhets
|
953c1fff8f
|
Be more careful with parsing changes from gitlab-shell
|
2015-01-28 17:00:40 -08:00 |
|
Dmitriy Zaporozhets
|
c6f7f09dd2
|
Merge branch 'fix_git_hook' into 'master'
Fix pushing to new branch when 'Check whether author is a GitLab user' is enebled.
See merge request !301
|
2015-01-27 22:16:22 +00:00 |
|
Valery Sizov
|
fd1614726d
|
fix pushing to new branch when check of author of commit is enabled
|
2015-01-26 10:53:10 -08:00 |
|
Dmitriy Zaporozhets
|
2bfd4f4438
|
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
Conflicts:
VERSION
config/gitlab.yml.example
config/initializers/1_settings.rb
lib/api/entities.rb
lib/api/groups.rb
|
2015-01-21 17:05:31 -08:00 |
|
Valery Sizov
|
ab7a79bf3b
|
developer can push to protected branches
|
2015-01-20 17:34:23 -08:00 |
|
Dmitriy Zaporozhets
|
3a9682a3d7
|
Merge dev.gitlab.org:gitlab/gitlabhq into upstream-ce
Conflicts:
VERSION
app/helpers/selects_helper.rb
app/models/project.rb
app/views/devise/sessions/new.html.haml
app/views/groups/_settings_nav.html.haml
app/views/layouts/nav/_admin.html.haml
app/views/profiles/keys/_key.html.haml
app/views/profiles/keys/index.html.haml
app/views/profiles/keys/show.html.haml
app/views/projects/merge_requests/show/_mr_accept.html.haml
config/routes.rb
db/schema.rb
doc/api/projects.md
features/steps/shared/paths.rb
|
2015-01-08 20:37:35 -08:00 |
|
Marin Jankovski
|
92eb3974ac
|
Add option to disable/enable developers push to already protected branches.
|
2014-12-26 11:39:12 +01:00 |
|
Marin Jankovski
|
770b2a5cfb
|
Move protected branch actions into a method.
|
2014-12-26 09:52:39 +01:00 |
|
Marin Jankovski
|
61b4214e94
|
Allow regular code push for developers if the protected branch allows it.
|
2014-12-26 09:35:49 +01:00 |
|
Dmitriy Zaporozhets
|
1c93d0df7a
|
Merge branch 'master' into ce-changes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Conflicts:
db/schema.rb
|
2014-12-11 18:12:45 +02:00 |
|
Dmitriy Zaporozhets
|
4491a3d12b
|
Decline push if repository does not exist
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
2014-12-05 18:17:51 +02:00 |
|
Dmitriy Zaporozhets
|
3bd66989de
|
Merge branch 'master' into ee-master
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Conflicts:
Gemfile
Gemfile.lock
VERSION
app/models/project.rb
app/models/user.rb
db/schema.rb
doc/install/installation.md
doc/update/6.x-or-7.x-to-7.5.md
doc/update/7.4-to-7.5.md
lib/gitlab/git_access.rb
spec/factories.rb
spec/lib/gitlab/git_access_spec.rb
|
2014-12-05 13:28:32 +02:00 |
|
Dmitriy Zaporozhets
|
835cbc06d8
|
Reload mr code on force push too
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
2014-12-02 17:42:56 +02:00 |
|
Dmitriy Zaporozhets
|
06b7907c2a
|
Fix deploy keys permission check in internal api
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
2014-12-01 16:25:10 +02:00 |
|
Valery Sizov
|
8290e23e65
|
Git hook messages: Improved error description
|
2014-11-25 11:37:46 +00:00 |
|
Valery Sizov
|
53bf52f191
|
Better message for failed pushes because of git hooks
Conflicts:
lib/gitlab/git_access.rb
spec/lib/gitlab/git_access_spec.rb
|
2014-11-18 13:10:07 +02:00 |
|
Valery Sizov
|
3058059c0a
|
Better message for failed pushes because of git hooks
|
2014-11-17 12:34:37 +02:00 |
|
Valery Sizov
|
3fcd75a911
|
Merge CE master into EE master
Conflicts:
Gemfile
VERSION
app/assets/javascripts/project.js.coffee
app/assets/javascripts/users_select.js.coffee
app/controllers/projects/services_controller.rb
app/models/project.rb
app/views/groups/edit.html.haml
features/project/service.feature
features/steps/project/services.rb
spec/models/concerns/mentionable_spec.rb
|
2014-11-13 17:05:12 +02:00 |
|
Ciro Santilli
|
71ed0ab069
|
Fix push not allowed to protected branch if
commit starts with 7 zeros.
|
2014-11-03 20:37:47 +01:00 |
|
Valery Sizov
|
c9470f5c78
|
Ability to block commits with certain filenames
|
2014-11-03 18:22:43 +02:00 |
|
 Valery SizovandValery Sizov
|
a7f0160f9e
|
git hook: code style
|
2014-11-03 14:41:07 +02:00 |
|
Valery Sizov
|
76764338dd
|
Git Hook to check whether author is a GitLab member
|
2014-10-31 16:19:58 +02:00 |
|
Valery Sizov
|
a62ad80a0f
|
Git hooks for checking email
|
2014-10-29 11:42:51 +02:00 |
|
Dmitriy Zaporozhets
|
f4d43ed3b1
|
Merge branch 'master' into ce-upstream
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Conflicts:
app/controllers/projects/services_controller.rb
app/models/concerns/mentionable.rb
app/models/project.rb
app/models/user.rb
app/views/admin/users/index.html.haml
app/views/projects/services/_form.html.haml
config/gitlab.yml.example
config/initializers/1_settings.rb
lib/gitlab/git_access.rb
lib/gitlab/ldap/access.rb
lib/gitlab/ldap/person.rb
lib/gitlab/reference_extractor.rb
spec/lib/gitlab/ldap/access_spec.rb
|
2014-10-14 18:23:51 +03:00 |
|
Dmitriy Zaporozhets
|
0bf99f6557
|
Developers can push to wiki repo. Protected branches does not affect wiki repo any more
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
2014-10-07 16:05:24 +03:00 |
|
Dmitriy Zaporozhets
|
a5972170ad
|
Merge remote-tracking branch 'origin/master' into ee-7-4
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Conflicts:
app/controllers/projects/team_members_controller.rb
app/finders/projects_finder.rb
app/models/group.rb
app/models/project_team.rb
app/models/users_group.rb
config/gitlab.yml.example
config/initializers/1_settings.rb
config/routes.rb
db/schema.rb
doc/integration/ldap.md
features/steps/group.rb
features/steps/project/project.rb
|
2014-10-02 13:24:59 +03:00 |
|
Jacob Vosmaer
|
f12d6278ed
|
Fix ref parsing in Gitlab::GitAccess
|
2014-09-23 13:18:36 +02:00 |
|
Jacob Vosmaer
|
e93523ed31
|
Merge commit '79190fe06b' into merge-79190fe06b-7.3.0-pre
Conflicts:
Gemfile
README.md
VERSION
db/schema.rb
doc/install/installation.md
lib/gitlab/git_access.rb
lib/gitlab/ldap/user.rb
spec/lib/gitlab/ldap/access_spec.rb
|
2014-09-15 11:24:51 +02:00 |
|