Valery Sizov
02ed61c4db
remove duplication
2015-03-10 20:09:34 +02:00
Valery Sizov
ed4c7190ed
Fix importers with OCC
2015-03-10 12:23:11 +02:00
Dmitriy Zaporozhets
27e3b47b7f
Fix user fixtures for development
2015-03-08 17:35:49 -07:00
Stan Hu
7e204cf389
Added comment notification events to HipChat and Slack services.
...
Supports four different event types all bundled under the "note" event type:
- comments on a commit
- comments on an issue
- comments on a merge request
- comments on a code snippet
2015-03-06 06:54:00 -08:00
Stan Hu and Douwe Maan
afe5d7d209
Issue #595 : Support Slack notifications upon issue and merge request events
...
1) Adds a DB migration for all services to toggle on push, issue, and merge events.
2) Upon an issue or merge request event, fire service hooks.
3) Slack service supports custom messages for each of these events. Other services
not supported at the moment.
4) Label merge request hooks with their corresponding actions.
2015-03-03 11:14:31 +01:00
Dmitriy Zaporozhets
a9eba1bde0
No need to block db:rollback for safe migration
2015-02-25 19:51:13 -08:00
Dmitriy Zaporozhets
78391fe5a0
Merge branch 'fix-another-migration' into 'master'
...
Prevent another migration from failing due to indirect use of model columns not yet created
See https://github.com/gitlabhq/gitlabhq/issues/8817#issuecomment-76007077
cc @marin
See merge request !1597
2015-02-26 02:53:37 +00:00
Douwe Maan
4803af45df
Prevent another migration from failing.
2015-02-25 22:55:37 +01:00
Dmitriy Zaporozhets
a52529f9b6
Merge branch 'bitbucket-import'
...
Conflicts:
app/views/import/gitorious/status.html.haml
db/schema.rb
2015-02-25 09:21:45 -08:00
Dmitriy Zaporozhets
2cd2543c44
Merge branch 'mwessel/gitlab-ce-set-last-activity-at' into 'master'
...
Give last_activity_at a default value so it will always be set
For https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/345
See merge request !1589
2015-02-24 23:15:04 +00:00
Douwe Maan
ad6d623234
Add Bitbucket importer.
2015-02-24 15:07:24 +01:00
Dmitriy Zaporozhets
0f6221e736
Make services migration more reliable
2015-02-23 17:56:05 -08:00
Marco Wessel
b19b8c679a
Give last_activity_at a default value so it will always be set
2015-02-23 03:36:21 +01:00
Dmitriy Zaporozhets
8184a65644
Revert "Fix broken access control and refactor avatar upload"
...
This reverts commit 7d5f86f6cb .
2015-02-19 08:57:35 -08:00
Dmitriy Zaporozhets
55a906f643
Merge branch 'fix_access_control_notes' into 'master'
...
Fix broken access control for note attachments
From https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/332 by Hannes Rosenögger.
See merge request !1528
2015-02-17 18:05:12 +00:00
Dmitriy Zaporozhets
2c893cb380
Fix dev fixture for admin
2015-02-17 00:23:09 -08:00
Hannes Rosenögger and Douwe Maan
7d5f86f6cb
Fix broken access control and refactor avatar upload
...
This commit moves the note folder from
/public/uploads/note
to
/uploads/note
and changes the uploader accordingly.
Now it's no longer possible to avoid the access control by modifing the url.
The Avatar upload has been refactored to use an own uploader as well
to cleanly seperate the two upload types.
2015-02-16 20:10:15 +01:00
Dmitriy Zaporozhets
2ad00f5294
Merge branch 'tweet-new-project'
...
Conflicts:
db/schema.rb
2015-02-15 19:03:10 -08:00
Douwe Maan
25e44d0530
Allow users that signed up via OAuth to set their password in order to use Git over HTTP(S).
2015-02-13 14:44:42 +01:00
Douwe Maan
ce08f919bf
Add link to share via twitter to "created project" event.
2015-02-13 12:07:59 +01:00
Dmitriy Zaporozhets
2be3a012ff
Merge branch 'master' of github.com:gitlabhq/gitlabhq
2015-02-12 14:43:02 -08:00
Jeroen van Baarsen
d9f84f6867
Merge pull request #8445 from jvanbaarsen/project-spec-speed-up
...
requests/api/project_spec.rb speed up
2015-02-12 11:26:09 +01:00
Marin Jankovski
09d3d351a1
Remove not null constraint on project_id in services.
2015-02-11 09:47:21 -08:00
Marin Jankovski
5515366064
Add template boolean to services.
2015-02-11 09:24:40 -08:00
Dmitriy Zaporozhets
aaa7a065c6
Add index on order columns for services table
2015-02-09 14:21:52 -08:00
Dmitriy Zaporozhets
3cd036e315
Merge branch 'notification_email'
...
Conflicts:
db/schema.rb
2015-02-07 18:42:34 -08:00
Douwe Maan
9dbd7e5aec
Allow notification email to be set separately from primary email.
...
Closes #1932 .
2015-02-07 23:19:17 +01:00
Dmitriy Zaporozhets
3e97ac2022
Add index on order columns
2015-02-06 10:21:48 -08:00
Dmitriy Zaporozhets
dbca8c9758
Add timestamps to identity
2015-02-05 13:23:32 -08:00
Jeroen van Baarsen
0ef495734d
Improved speed of the project_spec.rb
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2015-02-03 18:26:17 +01:00
Marco Wessel
20e269cb92
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into configure-protection
...
Conflicts:
CHANGELOG
db/schema.rb
2015-01-30 00:16:24 +01:00
Valery Sizov
54f6d8c7b5
an ability to clone project with oauth2 token
2015-01-28 15:57:31 -08:00
Marco Wessel
b20fc14133
Fix indentation
2015-01-25 18:34:02 +01:00
Marco Wessel
aad6ceaef9
Allow configuring protection of the default branch upon first push
2015-01-25 17:09:10 +01:00
Steven Thonus and Hannes Rosenögger
42bac7f9f2
adding avatar to project settings page added avatar removal show project avatar on dashboard, projects page, project page added rspec and feature tests added project avatar from repository new default project icon added added copying af avatar to forking of project added generated icon fixed avatar fork hound fix style fix test fix
2015-01-24 18:51:16 +01:00
Dmitriy Zaporozhets
577fe18073
Merge pull request #7878 from cirosantilli/rm-seed-password-confirmation
...
Remove unneeded password_confirmation from seed.
2015-01-18 10:38:41 -08:00
Dmitriy Zaporozhets
38600e328b
Validate application settings only if column exists
2015-01-16 17:22:17 -08:00
Dmitriy Zaporozhets
41d7be3ce1
Allow to specify home page for non logged-in users
2015-01-16 16:01:15 -08:00
Dmitriy Zaporozhets
72c3d728c4
Update db schema
2015-01-13 10:45:14 -08:00
Dmitriy Zaporozhets
bb1f8b1d8b
Merge branch 'github_importer'
...
Conflicts:
app/helpers/projects_helper.rb
2015-01-13 10:35:16 -08:00
Valery Sizov and Valery Sizov
a9f7fd2c1a
Github Importer
2015-01-10 09:51:43 -08:00
Dmitriy Zaporozhets
8589b4e137
Init ApplicationSettings resource with defaults from config file
2015-01-08 00:22:50 -08:00
Marin Jankovski
42fb42aed4
Merge branch 'master' into developer_can_push_to_protected_branches_option
...
Conflicts:
db/schema.rb
2014-12-29 09:30:55 +01:00
Ciro Santilli
faab452af9
Remove unneeded password_confirmation from seed.
2014-12-28 14:42:15 +01:00
Marin Jankovski
6ce3b1a311
Add migration for developers can push to protected branches flag.
2014-12-26 09:07:02 +01:00
Valery Sizov
e41dadcb33
Doorkeeper integration
2014-12-24 15:38:07 +02:00
Dmitriy Zaporozhets
554719d985
Merge branch 'fix-mysql-migration' into 'master'
...
Fix mysql migration
Fixes exception noted in https://gitlab.com/gitlab-org/gitlab-ce/issues/913
```
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:migrate
== 20141121161704 AddIdentityTable: migrating =================================
-- create_table(:identities)
-> 0.1214s
-- add_index(:identities, :user_id)
-> 0.1660s
-- execute("INSERT INTO identities (provider, extern_uid, user_id)\nSELECT provider, extern_uid, id FROM users\nWHERE provider IS NOT NULL\n")
-> 0.0518s
-- remove_column(:users, :extern_uid)
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
Mysql2::Error: Duplicate entry 'ldap' for key 'index_users_on_extern_uid_and_provider': ALTER TABLE `users` DROP `extern_uid`/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:301:in `query'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:301:in `block in execute'
```
See merge request !1344
2014-12-23 09:58:54 +00:00
Dmitriy Zaporozhets
1440ac8154
Remove index only if exists
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-23 11:05:50 +02:00
Dmitriy Zaporozhets
031461e106
Fix migration issue for mysql with index not being removed
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-23 10:52:21 +02:00
Dmitriy Zaporozhets
223e509f70
Merge pull request #7894 from cirosantilli/fix-dev-user-seed
...
Fix dev user seed: ID was used twice.
2014-12-20 20:18:15 +02:00