Jared Szechy
e156f42079
FogBugz project import
2015-09-08 20:23:01 -04:00
Stan Hu
a5314e79f2
Fix URL construction for merge requests, issues, notes, and commits for relative URL config
...
Closes https://github.com/gitlabhq/gitlabhq/issues/9605
2015-09-04 16:24:01 -07:00
Dmitriy Zaporozhets
d9f794a850
Merge branch 'grack-auth-new-instance' into 'master'
...
Avoid instance variable re-use trouble
This is the quickest/dumbest/safest way I could think of to prevent
the instance variable reuse problems we have on dev.gitlab.org now.
See merge request !1237
2015-09-02 18:05:16 +00:00
Jacob Vosmaer
30bf2b9cc3
Avoid instance variable re-use trouble
...
This is the quickest/dumbest/safest way I could think of to prevent
the instance variable reuse problems we have on dev.gitlab.org now.
2015-09-02 18:47:56 +02:00
Kirilll Zaitsev
263abda3fd
Drone CI service
2015-09-02 05:52:16 +03:00
Marin Jankovski
308c6428ae
Merge branch 'use_db_for_application_settings' into 'master'
...
Check if database connection exists when loading application settings
!1217 broke omnibus-gitlab nightly builds. In omnibus-gitlab we precompile assets without a running database.
See merge request !1230
2015-09-01 21:14:57 +00:00
Douwe Maan
afb2e6f485
Merge branch 'rs-cleanup-redcarpet-renderer' into 'master'
...
Decouple Gitlab::Markdown from the GitlabMarkdownHelper
This module is now the sole source of knowledge for *how* we render
Markdown (and GFM).
See merge request !1223
2015-09-01 20:13:44 +00:00
Douwe Maan
2236e9d617
Merge branch 'fix-bitbucket-import-issue-order' into 'master'
...
Import all Bitbucket issues and sort issues by creation date
Previously only the first 15 Bitbucket issues would be imported. Other issues in the API return call also calls import errors.
Tested by importing 400+ issues from this repo: https://bitbucket.org/ned/coveragepy
API reference here: https://bitbucket.org/site/master/issues/3571/api-issues-sorting-bb-3518
Closes https://github.com/gitlabhq/gitlabhq/issues/9519
See merge request !1226
2015-09-01 17:29:08 +00:00
Robert Speicher
f43e48a1ce
Require gitlab/markdown in ReferenceExtractor
2015-09-01 13:28:19 -04:00
Stan Hu
2e9c922dd1
Fix bug where only the first 15 Bitbucket issues would be imported.
...
Also fix a number of issues where author/reporter names were not available.
2015-09-01 08:50:20 -07:00
Marin Jankovski
3a8773fb2f
Added USE_DB env var to allow loading fake settings without db running.
2015-09-01 17:49:16 +02:00
Stan Hu
31e4654b1f
Sort issues by creation date in Bitbucket importer
...
API reference here: https://bitbucket.org/site/master/issues/3571/api-issues-sorting-bb-3518
Closes https://github.com/gitlabhq/gitlabhq/issues/9519
2015-09-01 08:46:42 -07:00
Robert Speicher
c104f4d590
Remove unnecessary strip from reference_class method
2015-08-31 16:23:46 -04:00
Robert Speicher
08ca941186
Move REDCARPET_OPTIONS to a private method
...
There wasn't really a reason to have them as a constant, and we were
getting "already defined" warnings which are always annoying.
2015-08-31 16:22:34 -04:00
Jacob Vosmaer
90b1ecfa01
Merge remote-tracking branch 'gitlab.com/master' into gitlab-git-http-server
2015-08-31 15:51:41 +02:00
Jacob Vosmaer
4027a26e7b
Replace grack with gitlab-git-http-server
2015-08-31 15:30:15 +02:00
Douwe Maan
fe86c8dfbd
Merge branch 'master' into joelkoglin/gitlab-ce-feature_fix_ldap_auth_issue_993
2015-08-29 11:49:14 -07:00
Douwe Maan
d92f428024
Minor refactor
2015-08-29 11:48:54 -07:00
Stan Hu
a429eb4d45
Merge branch 'fix-session_expire_delay' into 'master'
...
read session_expire_delay from database if table & column exists;
Previous code only ends up using the default value for session_expire_delay, not the value stored in the database, making the session always 1 week.
See merge request !1217
2015-08-28 07:55:51 +00:00
Eric Maziade
23aee0ca8a
fixed connection detection so settings can be read from the database
2015-08-27 21:21:31 -04:00
Robert Speicher
9bb06ae9ef
Make sure the main Gitlab::Markdown module gets loaded before filters
2015-08-27 16:02:49 -07:00
Robert Speicher
8e7111f79d
Reference filters no longer take a custom class context option
2015-08-27 15:36:26 -07:00
Robert Speicher
4340dd3eeb
Decouple Gitlab::Markdown from the GitlabMarkdownHelper
...
This module is now the sole source of knowledge for *how* we render
Markdown (and GFM).
2015-08-27 14:17:26 -07:00
Robert Speicher
2d72efcd9f
Add count to Themes and ColorSchemes
2015-08-26 11:30:38 -07:00
Robert Speicher
6d43308b5a
Add Gitlab::Themes.for_user
2015-08-26 11:30:11 -07:00
Robert Speicher
4344b8d2d4
Add Gitlab::ColorSchemes module
...
Very similar to Gitlab::Theme, this contains all of the definitions for
our syntax highlighting schemes.
2015-08-25 15:32:38 -07:00
Valery Sizov
56527b63e8
Ability to search milestones
2015-08-24 13:59:01 +03:00
Stan Hu
ed1d4fa477
Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLab
...
and request them each session. Pass these tokens to the project import data.
This prevents the need to encrypt these tokens and clear them in case they
expire or get revoked.
For example, if you deleted and re-created OAuth2 keys for Bitbucket, you would get
an Error 500 with no way to recover:
```
Started GET "/import/bitbucket/status" for x.x.x.x at 2015-08-07 05:24:10 +0000
Processing by Import::BitbucketController#status as HTML
Completed 500 Internal Server Error in 607ms (ActiveRecord: 2.3ms)
NameError (uninitialized constant Import::BitbucketController::Unauthorized):
app/controllers/import/bitbucket_controller.rb:77:in `rescue in go_to_bitbucket_for_permissions'
app/controllers/import/bitbucket_controller.rb:74:in `go_to_bitbucket_for_permissions'
app/controllers/import/bitbucket_controller.rb:86:in `bitbucket_unauthorized'
```
Closes #1871
2015-08-23 09:23:44 -07:00
Robert Speicher
f0bdf7f810
Merge branch 'reply-by-email' into 'master'
...
Reply by email
Fixes #1360 .
It's far from done, but _it works_.
See merge request !1173
2015-08-22 00:00:08 +00:00
Douwe Maan
15fc7bd613
No HTML-only email please
2015-08-21 16:09:55 -07:00
Douwe Maan
69708dab9f
Block blocked users from replying to threads by email.
2015-08-21 10:14:45 -07:00
Joel Koglin and Joel Koglin
4d2f36118a
Issue #993 : Fixed login failure when extern_uid changes
2015-08-21 09:36:27 -07:00
Robert Speicher
747fe7520b
Remove trailing HTML entities from non-Rinku autolinks as well.
2015-08-20 18:25:16 -07:00
Douwe Maan
35224d5e7f
Memoize address_regex locally.
2015-08-20 16:44:44 -07:00
Douwe Maan
3d141d1512
Fix spec by removing global state.
2015-08-20 16:21:31 -07:00
Douwe Maan
99ef8c8159
Fix markdown specs.
2015-08-20 15:37:43 -07:00
Douwe Maan
f26c2905d1
Fix indentation
2015-08-20 14:25:56 -07:00
Douwe Maan
123af78561
Add gitlab:reply_by_email:check rake task.
2015-08-20 14:03:04 -07:00
Douwe Maan
3d51a6d435
Merge branch 'master' into reply-by-email
2015-08-20 12:19:19 -07:00
Douwe Maan
8ec5fb138d
Test Gitlab::Email::Receiver.
2015-08-20 12:17:59 -07:00
Douwe Maan
2f78b5e8af
Make error class names more consistent.
2015-08-20 11:33:18 -07:00
Douwe Maan
0b401f2e94
Fix a couple of whoopsy daisies.
2015-08-20 11:17:14 -07:00
Douwe Maan
e9972efc2f
Extract ReplyParser and AttachmentUploader from Receiver.
2015-08-20 11:05:06 -07:00
Artem Sidorenko
55dca86b98
Import sources: settings in the admin interface
2015-08-20 11:28:27 +02:00
Douwe Maan
83081f1673
Start on tests.
2015-08-19 18:00:13 -07:00
Douwe Maan
76dbafba86
Send a rejection email when the incoming email couldn't be processed.
2015-08-19 11:10:21 -07:00
Douwe Maan
ee1eb2948d
Turn reply-by-email attachments into uploads.
2015-08-19 10:18:05 -07:00
Dmitriy Zaporozhets
72a425fa66
Merge branch 'remove-satellites'
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-08-19 09:52:39 +02:00
Douwe Maan
8906cabae7
Changes and stuff.
2015-08-18 17:02:26 -07:00
Douwe Maan
f76eac56b9
Reply by email POC
2015-08-18 15:46:36 -07:00