summaryrefslogtreecommitdiff
path: root/spec/models/concerns/spammable_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@15-9-stable-eev15.9.0-rc42GitLab Bot2023-02-201-0/+16
|
* Add latest changes from gitlab-org/gitlab@14-9-stable-eev14.9.0-rc42GitLab Bot2022-03-181-2/+2
|
* Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot2021-08-191-2/+2
|
* Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot2021-02-181-0/+55
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-17/+74
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-261-0/+40
|
* Autocorrect with RSpec/ExampleWording copThong Kuah2019-04-051-2/+2
| | | | | | | - rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
* Add # frozen_string_literal to spec/modelsThong Kuah2019-04-011-0/+2
| | | | Adds `# frozen_string_literal: true` to spec/models ruby files
* Enable RSpec/FilePath copenable-spec-file-name-copSean McGivern2017-04-261-1/+3
| | | | | | - Ignore JS fixtures - Ignore qa directory - Rewrite concern specs to put concern name first
* Spam check and reCAPTCHA improvements28093-snippet-and-issue-spam-check-on-editOswaldo Ferreira2017-02-211-0/+1
|
* Improve performance of User Agent DetailZ.J. van de Weg2017-02-201-1/+17
|
* Further refactor and syntax fixes.Patricio Cano2016-08-151-13/+1
|
* Refactored AkismetHelper into AkismetService and cleaned up `Spammable`Patricio Cano2016-08-151-19/+8
| | | | - Refactored SpamCheckService into SpamService
* Allow `Issue` to be submitted as spamPatricio Cano2016-08-151-4/+5
| | | | | - Added controller actions as reusable concerns - Added controller tests
* Allow `SpamLog` to be submitted as hamPatricio Cano2016-08-151-2/+3
| | | | | - Added `submitted_as_ham` to `SpamLog` to mark which logs have been submitted to Akismet. - Added routes and controller action.
* Refactored spam related code even furtherPatricio Cano2016-08-151-4/+17
| | | | | | | - Removed unnecessary column from `SpamLog` - Moved creation of SpamLogs out of its own service and into SpamCheckService - Simplified code in SpamCheckService. - Moved move spam related code into Spammable concern
* Complete refactor of the `Spammable` concern and tests:Patricio Cano2016-08-151-0/+41
- Merged `AkismetSubmittable` into `Spammable` - Clean up `SpamCheckService` - Added tests for `Spammable` - Added submit (ham or spam) options to `AkismetHelper`