Commit Graph

113 Commits

Author SHA1 Message Date
Rémy Coutable c66502a2fb Merge branch 'move-admin-spam-spinach-test-to-rspec' into 'master'
Move admin spam spinach test to RSpec

See merge request !7708
2016-11-24 13:26:33 +00:00
Semyon Pupkov 73f6218ec4 Move admin abuse report spinach test to rspec
https://gitlab.com/gitlab-org/gitlab-ce/issues/23036
2016-11-23 21:40:29 +05:00
Semyon Pupkov c18f96cfe9 Move admin spam spinach test to Rspec
https://gitlab.com/gitlab-org/gitlab-ce/issues/23036
2016-11-23 20:18:35 +05:00
Lukas Erlacher e900e53aa5 Show log corresponding to env in admin/logs
No matter which environment Gitlab was running as, the admin/logs view
always showed production.log. This commit selects the logfile based
on Rails.env.

- Rename ProductionLogger to EnvironmentLogger
- Make EnvironmentLogger logfile depend on env
- Update spinach test for log tabs
2016-11-03 22:02:47 +01:00
Phil Hughes 638376c354 Fixed group tests 2016-09-13 08:44:59 +01:00
Phil Hughes 999f184805 Tests update 2016-09-13 08:44:59 +01:00
Lin Jen-Shin cc4b0a55bd Fix test for checking everything for Slack service 2016-07-30 01:24:03 +08:00
Felipe Artur 8bd520d70e Allow slack service to send messages on different channels 2016-07-19 20:57:59 -03:00
Alfredo Sumaran 338072cc4b Layout for Users Groups and Projects on admin area 2016-07-07 13:25:58 -05:00
Dmitriy Zaporozhets b37b7deedf Fix invite user feature test and improve request member UI row
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-07-07 09:15:49 +03:00
Rémy Coutable 1f7353ce38
Fix specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-21 18:25:44 +02:00
Dmitriy Zaporozhets d5efd17d8a Fix admin active tab tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-06-15 17:41:15 +03:00
Robert Speicher 75739e54be Enable RSpec/NotToNot cop and auto-correct offenses
Also removes the note from the development/testing.md guide
2016-05-24 15:40:29 -04:00
Dmitriy Zaporozhets 79b9ff6076
Modify tests to match new navigation behaviour for project pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-05-16 12:36:27 -05:00
Dmitriy Zaporozhets 55ceda1204
Bring shared project feature tests from EE
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-12 14:45:14 +01:00
Zeger-Jan van de Weg 9a2869ab46 Branded login page also in CE
The only major difference with the EE version is the change from a light and dark logo to only a header logo
The dark logo wasn't used anyway, so it seemed to make sense to me to rename the field to the actual function of it
2016-02-26 15:50:51 +01:00
Robert Speicher 89b3ddd609 Allow limited Markdown in Broadcast Messages
Closes #11853
2016-02-06 14:30:07 -05:00
Douglas Barbosa Alexandre 64c9768bd6 Use truncate helper on spam logs list 2016-02-02 11:25:44 -02:00
Stan Hu d20e75a8d8 Support Akismet spam checking for creation of issues via API
Currently any spam detected by Akismet by non-members via API will be logged
in a separate table in the admin page.

Closes #5612
2016-02-02 11:25:44 -02:00
Robert Speicher 540ae3c365 Update Broadcast Message features
- Removes redundant "Create a broadcast message" scenario that was
  entirely covered by the "Create a customized broadcast message"
  scenario.
- Adds "Edit an existing broadcast message" scenario
- Adds "Remove an existing broadcast message" scenario
2016-01-13 11:34:59 -05:00
Robert Speicher 8086b2bd2e Simplify BroadcastMessage factory
Also make the feature tests less brittle.
2016-01-13 11:34:58 -05:00
Kamil Trzcinski 2988e1fbf5 Migrate CI::Services and CI::WebHooks to Services and WebHooks 2015-12-10 16:04:08 +01:00
Douglas Barbosa Alexandre bf0af030b6 Merge branch 'master' into fix-admin-should-be-able-to-add-himself-to-group 2015-12-08 10:34:51 -02:00
Robert Speicher e48391b813 Add custom ColorValidator 2015-12-07 16:57:26 -05:00
Douglas Barbosa Alexandre 23c1c70bf0 Merge branch 'master' into fix-admin-should-be-able-to-add-himself-to-group 2015-12-04 18:09:22 -02:00
Douglas Barbosa Alexandre 9ca41f3ab2 Merge branch 'master' into fix-admin-should-be-able-to-add-himself-to-group 2015-12-03 16:05:28 -02:00
Douwe Maan 0520cd7164 Merge branch 'master' into ui/form-consistency 2015-12-03 13:21:19 +01:00
Douwe Maan 12dd4c7c8a Use "Delete" in milestone and label delete buttons instead of "Remove" 2015-12-02 14:53:56 +01:00
Douwe Maan 67119e15c0 Use consistent casing for form field labels 2015-12-02 14:41:54 +01:00
Douglas Barbosa Alexandre 67cc6b0642 Signed in admin should be able to add/remove himself to a project 2015-12-01 20:53:43 -02:00
Douglas Barbosa Alexandre 9ab7bdf773 Signed in admin should be able to add/remove himself to a group 2015-12-01 20:53:43 -02:00
Valery Sizov 8f584d5f2c Fix: Images cannot show when projects' path was changed 2015-10-14 18:50:35 +03:00
Aaron Snyder a9cfa6c508 Fix grammar in admin area labels .nothing-here-block when no labels exist.
updating admin area > "Labels" text to "There are no labels yet.", per Stan Hus suggestion.
2015-09-26 11:25:26 -07:00
Jeroen van Baarsen fe17a236e3 Allow custom info to be added to Help page
Fixes #2536

Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-09-18 10:15:40 +02:00
Stan Hu 253bc0ca15 Fix test 2015-09-10 00:19:53 -07:00
Valery Sizov 6bd3d72bbd added spinach for glabal labels 2015-09-03 19:02:14 +03:00
Valery Sizov bafffb2d14 Enable SSL verification for Webhooks 2015-08-26 15:48:31 +03:00
Stan Hu 3715a0f29b Fix bug preventing invite by e-mail
This was broken in 70f5291808 as a result of introducing the ability to filter by current user.

Closes #2320
2015-08-21 13:47:56 -07:00
Artem Sidorenko 0719022739 Spinach tests 2015-08-19 13:47:03 +02:00
Ben Bodenmiller 692e381e0c capitalize URL in "Home page URL" 2015-08-17 23:16:18 -07:00
Robert Speicher fb6dc1f07d Add `Group#add_*` convenience methods
Encapsulates the logic for `Gitlab::Access::WHATEVER` levels.
2015-08-07 00:20:02 -04:00
Dmitriy Zaporozhets 485b9efe9f
Remove trailing lines
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-06 17:27:48 +02:00
Dmitriy Zaporozhets 02c4a0cc73
Add tests for abuse report feature
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-06 16:57:04 +02:00
Douwe Maan 70a3c165a9 Allow custom label to be set for authentication providers. 2015-07-23 15:20:12 +02:00
Dmitriy Zaporozhets 4acd1f5d6a Fix tests for admin identities after migrate to rspec3 2015-06-23 15:49:15 +02:00
Dmitriy Zaporozhets 73e003013f
Merge branch 'master' into admin-edit-identities
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

Conflicts:
	app/views/admin/users/show.html.haml
2015-06-22 18:00:11 +02:00
Dmitriy Zaporozhets 3fe3cbf222
Fix indendity test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-22 17:52:22 +02:00
Robert Speicher afec5efc7d Fix features syntax 2015-06-22 12:13:45 +02:00
Dmitriy Zaporozhets aca6d36722 Add tests for admin managing user identities
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-19 15:29:53 +02:00
Robert Speicher 4c42fc7c4c Call `page.all` instead of `all` in feature steps
There's a naming conflict between Capybara and rspec-matchers which both
define the `all` method.

See https://github.com/jnicklas/capybara/issues/1396
2015-06-12 05:12:42 -04:00