0051061d96
Merge pull request #21 from praekeltfoundation/feature/SAS-72-get-user-info-for-visit-count-rule
...
Get user info from visit count rule
2018-02-23 14:02:15 +02:00
f898dfe017
Actually add tests for segment users view
2018-02-22 16:12:24 +02:00
8ced5bd81c
Fix flake8
2018-02-22 15:15:01 +02:00
9a86b0c8cc
Add tests for segment users view
2018-02-22 15:14:34 +02:00
9408f90789
Use mock for testing matching user count
...
The fake class was causing other tests to fail because it inherits from AbstractBaseRule but isn't in the database.
I removed it and replaced it with mocked calls
2018-02-22 14:23:14 +02:00
ba6056e3f8
Link to download CSV of users in segment
2018-02-22 14:21:43 +02:00
fdc0a7f2e1
Get user info for Visit count rule
2018-02-21 19:08:29 +02:00
12b0cd9231
Make visit count session retrieval seperate method
2018-02-21 19:07:35 +02:00
330557be8d
Make VisitCountRule.test_user actually test with only a user
2018-02-21 18:48:44 +02:00
aa917dee9c
Merge pull request #20 from praekeltfoundation/feature/SAS-90-revert-query-rule-to-not-be-static
...
Remove static flag for Query Rule
2018-02-21 15:54:36 +02:00
364cb1a7e6
Query rule should not be static
2018-02-20 15:08:12 +02:00
8f789b3e17
Fill static segments with users from the database at creation
2018-02-15 13:20:48 +02:00
bedbe06c65
Merge branch 'release/0.10.9' into develop
2018-02-13 14:17:55 +02:00
362f15e5ff
version bump 0.10.9
2018-02-13 14:17:29 +02:00
8a0dba2efb
Merge pull request #18 from praekeltfoundation/feature/issue-18-Display-the-number-of-users-in-a-static-segment-SAS-99
...
Display the number of users in a static segment SAS-99
2018-02-13 14:11:56 +02:00
59f4877e04
add localize filter
2018-02-13 13:57:00 +02:00
2ff29cc375
get the number of users in a static segment from static_users variable
2018-02-13 13:47:45 +02:00
8527e6ff23
Merge tag '0.10.8' into develop
...
Don't add users to exclude list for dynamic segments
Store segments a user is excluded from in the session
2018-02-13 10:13:24 +02:00
d7c07cb238
Merge branch 'release/0.10.8'
0.10.8
2018-02-13 10:12:45 +02:00
6e83366df6
Bump version to 0.10.8
2018-02-13 10:12:35 +02:00
55364f8906
Merge pull request #16 from praekeltfoundation/feature/SAS-78-fix-sampling-dynamic-segments
...
Fix sampling for Dynamic segments
2018-02-13 09:59:28 +02:00
4fd0b30c66
Check rules test skipped if segment excluded by session
2018-02-12 18:56:13 +02:00
c909852b08
Add tests
2018-02-12 18:01:01 +02:00
ea1ecc2a98
Get excluded segments from session and don't check them again
2018-02-12 18:00:38 +02:00
0f0aecf673
Store excluded segments in the session object
2018-02-12 17:57:36 +02:00
c11960f921
Only store excluded users for static segments
2018-02-12 16:58:20 +02:00
37d49dcdfb
Merge tag '0.10.7' into develop
...
Bug Fix: Ensure static segment members are show the survey immediately
Records users excluded by randomisation on the segment
Don't re-check excluded users
2018-02-09 17:01:02 +02:00
869237360d
Merge branch 'release/0.10.7'
0.10.7
2018-02-09 17:00:09 +02:00
33277a0b20
Version 0.10.7
2018-02-09 16:59:26 +02:00
2cd643fb2d
Merge pull request #15 from praekeltfoundation/feature/SAS-78-store-excluded-users-on-segment
...
Store users excluded by randomisation
2018-02-09 16:52:44 +02:00
0f18024ebc
Tests
2018-02-09 12:36:34 +02:00
521222f748
Don't check if excluded users match segment rules
2018-02-09 12:35:53 +02:00
56a8e106d8
Add users excluded by randomisation to excluded_users list
2018-02-09 12:35:09 +02:00
3162191a16
Add field to segment to store excluded users
2018-02-09 12:32:42 +02:00
8c7e99313b
Merge pull request #14 from praekeltfoundation/feature/add-static-segments-to-session
...
Add static segments to session if rules pass
2018-02-09 12:30:55 +02:00
824e42174f
Tests
2018-02-08 19:48:31 +02:00
d114bb2570
Always add the segment to the session if they pass
2018-02-08 19:47:35 +02:00
7bba1e57cc
Merge pull request #12 from praekeltfoundation/feature/only-deploy-once-per-build
...
Only deploy for one environment per travis build
2018-02-06 16:26:43 +02:00
3017f32b6b
Add spaces around = in bash deploy condition
2018-02-06 16:18:16 +02:00
6b1a7cf1f2
Only deploy for one environment per travis build
2018-02-06 16:11:20 +02:00
1525b7946c
Merge tag '0.10.6' into develop
...
Accepts and stores randomisation percentage for segment
Adds users to segment based on random number relative to percentage
2018-02-06 15:26:25 +02:00
7bf1bc3f19
Merge branch 'release/0.10.6'
0.10.6
2018-02-06 15:26:02 +02:00
4c60bcbe6b
Version 0.10.6
2018-02-06 15:25:51 +02:00
ad4f75d471
Merge pull request #11 from praekeltfoundation/feature/SAS-93-use-randomisation-percentage
...
Use randomisation percentage
2018-02-06 14:51:56 +02:00
086168954d
Test randomisation of static segments at creation
2018-02-05 12:30:12 +02:00
881090f2f9
Test randomisation for dynamic segments
2018-02-05 12:21:09 +02:00
d073c7d268
Randomise into static segments when they are created
2018-02-05 12:20:10 +02:00
7200b5b4c4
If a session passes segment rules randomise them into the segement
2018-02-05 12:19:36 +02:00
6f97c76958
Add method to randomise matching sessions into the segment
2018-02-05 12:18:22 +02:00
ecb4f928fb
Merge pull request #10 from praekeltfoundation/feature/SAS-92-store-randomisation-percentage
...
Add randomisation percentage to segment model
2018-02-05 11:54:23 +02:00