Skip to content

1.4.19-mailroom-7.4.1-india

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Sep 18:52
· 225 commits to main since this release

Changelog

70bfed0 Remove old build files
c9bd940 Update name Build Mailroom in India and Ireland in build-mailroom-push-tag-india-ire.yaml
c6a829f Update action for prod in Infrav3
361d62f Add stop action staging in build-mailroom-push-tag-sp-india-ire.yaml
f4525a3 Remove staging in build-mailroom-push-tag-sp-india-ire.yaml
648fcc9 Create build-mailroom-push-tag-sp-india-ire.yaml
f1ba44f fix ivr tests
5a72126 Merge branch 'v1.3.3-mailroom-7.1.22-india' of https://github.com/Ilhasoft/mailroom into main-in
e015da2 Merge pull request #121 from Ilhasoft/update/v7.4.1-mailroom
89d1649 update weni-changelog.md for v1.4.19-mailroom-7.4.1
dcdea85 reconciliate dump and fix msg related tests to conform v7.4.1
4d5766b tidy go mods
285020f update mailroom_test.dump to fit with v7.4.1
dd9af76 Merge branch 'main' of https://github.com/Ilhasoft/mailroom into update/v7.4.1-mailroom
6780cf5 Merge pull request #119 from Ilhasoft/weni-changelog-v1.4.18-mailroom-7.1.22
3e96dcd update weni-changelog.md for v1.4.18-mailroom-7.1.22
f6ab239 Merge pull request #118 from Ilhasoft/fix-wenichats-send-media
3bef2f9 Merge pull request #117 from Ilhasoft/sort-msgs-history
1ecce8e Fix send history test
76448e7 Add sorting of msgs by createdOn
7e4cb55 Return to sending history in separate messages
304c03e fix wenichats send media
0e6e3a2 Merge pull request #116 from Ilhasoft/weni-changelog-v1.4.17-mailroom-7.1.22
e961c92 update weni-changelog.md for v1.4.17-mailroom-7.1.22
0a79b26 Merge pull request #114 from Ilhasoft/wenichats-room-contact-groups
fdb7af9 Merge pull request #115 from Ilhasoft/fix/att-zendesk
8aafba2 wenichats integration tweak contact groups
c705fae Merge pull request #113 from Ilhasoft/wenichats-integration-tweaks
20a24b0 fix FetchFileWithMaxSize
3816cbe pass FLowUUID and contact Groups on open room in wewnichats
1726447 Send message attribute to Zendesk on attachment submissions
2ff94fe Merge pull request #112 from Ilhasoft/weni-changelog-v1.4.16-mailroom-7.1.22
a21d6c0 update weni-changelog.md for v1.4.16-mailroom-7.1.22
5d966ed Merge pull request #111 from Ilhasoft/weni-chats-media-size-limit
71f1239 wenichats webhook media bodybytes verification
7b8c267 ivr retry workers tweak and tests
bcda628 add ivr retry worker pool and throttling
48b5fb9 add throttling in ivr call start batch
456d56a add config limit for ivr connections amount in retry cron
1dbe053 add ivr cron for cancel queued ivr calls
32da61c move ivr cron constants to configs
90778ba Update Dockerfile
d184c3b Add new column in ticketer table
c1fb669 Fix dump
9d9a6dd Fix dump
74d68e4 Fix mailroom_test.dump
5f0dac5 Fix parameters for InsertOpenTicket() function
80055b3 Fix parameters for InsertOpenTicket
8da15d9 Fix parameters for InsertOpenTicket
3f01b4e Fix twilioflex test
a34e8e1 Fix go.mod
79f0600 Merge tag 'v7.4.1' into update/v7.4.1-mailroom
78f5a44 Update gocommon for v1.17.1-weni
133810a Update WENI-CHANGELOG.md for 1.4.0-mailroom-7.2.6
c9ad09d Update WENI-CHANGELOG.md for 1.4.0-mailroom-7.1.22
4e9b257 Add changes to mailroom_test.dump
cf60b33 Merge remote-tracking branch 'origin/dump-merger-script' into update/v7.2.6-mailroom
a645961 Merge tag 'v7.2.6' into update/v7.2.6-mailroom
74d09ef add config from envvar for ivr max concurrent events
115cef4 add ivr crons adaptations and limitations
4ba0425 Update CHANGELOG.md for v7.4.1
85db97f Update to latest goflow
16b35e6 Update CHANGELOG.md for v7.4.0
16c0934 Update README
56002c3 Update CHANGELOG.md for v7.3.20
3ffcf60 Merge pull request rapidpro#637 from nyaruka/preview_start_fixes
d91ed49 Use proper query construction for preview_start endpoint and return search errors for invalid user queries
3ca20cd Update CHANGELOG.md for v7.3.19
53337f2 Update dependencies
fff6cc8 Fix test
720c2a6 Update test database
c4bb417 Update test database
d5a6c02 Log version at startup
79a6ba3 Update test database
c5da354 Update CHANGELOG.md for v7.3.18
1bc352e Merge pull request rapidpro#636 from nyaruka/org_membership
d1c0fac Use new orgmembership table to load users
a009c4e Update test database
f37d645 Fix imports
5acf569 Update to latest goflow
f1f00fd Update CHANGELOG.md for v7.3.17
9f67fe2 Merge pull request rapidpro#635 from nyaruka/failed_runs_fix
995e729 Update to latest goflow and simplify code for exiting session runs
233e799 Merge pull request rapidpro#632 from nyaruka/msg_flow_tweak
456041d Merge pull request rapidpro#634 from nyaruka/include_exclude_pt1
92911c3 Start cleaning up use of include vs exclude properties of starts
b5ff945 Merge pull request rapidpro#633 from nyaruka/session_triggered_exclude
7aff134 Add support for excluding contacts already in a flow in start_session actions
e1000ec Don't blow up in msg_created handler if flow has been deleted
97df539 Merge pull request rapidpro#631 from nyaruka/analytics
3eb9f0c Use analytics package from gocommon instead of librato directly
a846409 Update CHANGELOG.md for v7.3.16
9de4509 Update to latest goflow
59881fb Update CHANGELOG.md for v7.3.15
4da5da9 Merge pull request rapidpro#630 from nyaruka/simplify_broadcasts
5682fc6 Simplify BroadcastBatch
bf51f4a Merge pull request rapidpro#629 from nyaruka/ticket_reply_timings
3a6fd21 Have TicketRecordReplied update last_activity_on to avoid making two db updates
26705d9 Record first-reply timings for tickets
456ab56 Merge pull request rapidpro#628 from morrismukiri/arm64-build
98ee3a3 Add arm64 as a build target
636a27d Update CHANGELOG.md for v7.3.14
6c5c869 Update to latest goflow which fixes contact query bug
c2e61ba Update CHANGELOG.md for v7.3.13
9f2af1c Update to latest goflow
475453c Update test database
027521b Merge pull request rapidpro#627 from nyaruka/ticket_daily_counts
cb5465e Load user assets with their teams and record reply daily counts for org, user and team
3a362e6 Record daily assignment counts when tickets are being assigned
114e510 Record ticket daily counts when opening tickets
a1abeb4 Update test database
a44fee8 Update to latest gocommon, phonenumbers, jsonparser
6ec3e87 Merge pull request rapidpro#626 from nyaruka/more_generics
25c145b Use new generic dbutil.BulkQuery
3aa9745 Update CHANGELOG.md for v7.3.12
cbb3587 Merge pull request rapidpro#625 from nyaruka/generics
0eddbfd Update to go 1.18 and use some generics
f06fb72 Update CHANGELOG.md for v7.3.11
f90d8d2 Merge pull request rapidpro#624 from nyaruka/not_seen_since_days
eef24e5 Rework flow/preview_start endpoint to take a number of days since last seen on
0a4807d Update test database
d4ce6d4 Update to latest goflow
8b99efd Update CHANGELOG.md for v7.3.10
970c00f Merge pull request rapidpro#623 from nyaruka/preview_start_with_query_metadata
7d5edf9 Rename count to total to match other search endpoints
e52be7a Add query inspection metadata to preview_start endpoint response
1d00902 Merge pull request rapidpro#622 from nyaruka/preview_by_uuids
2fc0322 Switch preview start endpoint to take UUIDs
e8052ef Update CHANGELOG.md for v7.3.9
e2bf8ab Merge pull request rapidpro#621 from nyaruka/start_preview_sample_size
88c7501 Add sample_size param to preview_start endpoint
6f2118f Merge pull request rapidpro#620 from nyaruka/search_cleanup
241c617 Fix tests
7d9028e Move search into its own package and add more tests
3314713 Merge pull request rapidpro#619 from nyaruka/preview_start_endpoint
c4bc1e7 Update test database
57a1381 Update to latest goflow
0ad3b2e Add endpoint to generate a flow start preview (WIP)
f03cee1 Update CHANGELOG.md for v7.3.8
c6a969f Merge pull request rapidpro#618 from nyaruka/field_names
f53a260 Use new contactfield.name and is_system fields
fe7ee45 Remove unused function
09d368a Update to codecov action v2
2cbcc02 Update CHANGELOG.md for v7.3.7
dffc498 Update to latest goflow and start using httpx.DetectContentType
9682d1d Update CHANGELOG.md for v7.3.6
2a22e0e Merge pull request rapidpro#617 from nyaruka/flow_history_changes
962e373 Optimize setting modified_on by handling flow entered events
b4e3bff Always update modified_on when a sprint ends
57d3991 Update CHANGELOG.md for v7.3.5
f9ee767 Merge pull request rapidpro#614 from nyaruka/es_asset_ids
86f32ec Fix logging statement
407a420 Fix mapping of flow assets to their IDs
7f7487e Fix tests
f38c1b3 Merge branch 'main' into es_asset_ids
4d8b5a3 Merge pull request rapidpro#613 from nyaruka/update_testdb
39d68bb Update test database
7823156 Update to latest goflow which requires mapping groups and flows to ids for ES queries
e34f917 Update CHANGELOG.md for v7.3.4
36dd54a Merge pull request rapidpro#612 from nyaruka/stopped_fix
7841cd1 Fix unstopping of contacts who message in
ecf0553 Update CHANGELOG.md for v7.3.3
edc858b Merge pull request rapidpro#610 from nyaruka/system_groups_pt3
b517840 Fix metrics endpoint
799dea8 ContactGroup.group_type can no longer be 'U'
83c16d9 Merge pull request rapidpro#608 from nyaruka/timeout_fix
460cb9f Clear session timeout if timeout resume rejected by wait
25438bb Add test for timeout task handling
736b5c7 Update golang.org/x/sys
b301e6e Update CHANGELOG.md for v7.3.2
c116d2d Merge pull request rapidpro#607 from nyaruka/system_groups_pt1
8a04898 Update test database
d0d6308 Add is_system to contact groups, filter groups by group_type = M|Q|U
6177ddc Update CHANGELOG.md for v7.3.1
0bd932b Merge pull request rapidpro#601 from nyaruka/resume_for_inactive
3cec50c Merge pull request rapidpro#599 from nyaruka/fail_msgs_to_inactive_contacts
a7fc6df Merge pull request rapidpro#603 from nyaruka/better_cron
4a1593a Update CHANGELOG.md for v7.3.0
5456723 Merge pull request rapidpro#600 from nyaruka/locker_cleanup
a4478a9 Merge pull request rapidpro#598 from nyaruka/sql_cleanup
8b58b4c Update to latest goflow
6d50cce Update CHANGELOG.md for v7.2.6
9de3b78 Merge pull request rapidpro#606 from nyaruka/batch_delete_fires
9d3bfd7 Batch calls to delete event fires
10023b2 Merge pull request rapidpro#604 from nyaruka/update_test_db
a96dc19 Update test database
b04560c Remove cruft
b7ffe0e Further simplify cron starting
7907575 Cron jobs should add themselves to the main mailroom waitgroup
83f803b Simplify cron starts
cca709e Update CHANGELOG.md for v7.2.5
fa60eaf Merge pull request rapidpro#602 from nyaruka/resend_fix
eabee9b Fix resend reponses when not all messages could be resent
e6cf8ea Update CHANGELOG.md for v7.2.4
7058575 Improve logging on session resume
a1e56d8 Allow expirations and timeouts to resume sessions for stopped, blocked and archived contacts
c00eee5 Replace last usages of old locker code
caf9b0a Messages to stopped, blocked or archived contacts should immediately fail
a143513 Fix example session storage path
45b17cd Use redis 5.x for CI
c47caf5 Improve configuration section of README
58c901a More cleanup
2529125 Update CHANGELOG.md for v7.2.3
2aea3ed Merge branch 'main' into sql_cleanup
1e65bee Merge pull request rapidpro#597 from nyaruka/resend_fix
2f6e0b0 Cleanup some SQL variables
26ccfe3 Rework resending to fail messages with no destination
395971c Update CHANGELOG.md for v7.2.2
88abcd2 Tweak log messages for expirations and timeouts
cb3b957 Merge pull request rapidpro#596 from nyaruka/expiration_fix
e3aabfd Don't try to resume expired session if contact isn't active
ad312c3 Update CHANGELOG.md for v7.2.1
4abaef3 Improve logging of expirations task
fd8fa3c Fix logging of opened tickets
2ba79d2 CI with latest go 1.17.x
f998b4e Update CHANGELOG.md for v7.2.0
12234dd Add missing config options to README
eb29aee Update CHANGELOG.md for v7.1.45
776360e Update to latest goflow
8855e6b Update CHANGELOG.md for v7.1.44
288bfd0 Merge pull request rapidpro#595 from nyaruka/no_more_exit_type
27362d6 Remove references to flows_flowrun.exit_type and is_active which are no longer used
0b5ba3b Update CHANGELOG.md for v7.1.43
32a3125 Merge pull request rapidpro#594 from nyaruka/query_limit
e99796d Flow starts from start_session actions in flows should only match single contacts
e190f5f Fix panic when resuming IVR flow
fe8e6d2 Update CHANGELOG.md for v7.1.42
2af42e1 Merge pull request rapidpro#593 from nyaruka/flow_by_name_order
c2470b4 When fetching flows by name, prefer latest saved
043976b Update CHANGELOG.md for v7.1.41
0032ed6 Merge pull request rapidpro#592 from nyaruka/query_by_flow
2cd7b4a Add support for querying by flow
d2adb10 Revert "Update to latest goflow which adds support for querying on flow"
d90af00 Update to latest goflow which adds support for querying on flow
df03d9f Update CHANGELOG.md for v7.1.40
c325893 Merge pull request rapidpro#586 from nyaruka/update_current_flow
e492abd Implement setting contact.current_flow_id as pseudo event and hook
40ce738 Merge branch 'main' into update_current_flow
aa9bc91 Update CHANGELOG.md for v7.1.39
c5f4846 Merge pull request rapidpro#591 from nyaruka/excludes
e0216c7 Change StartOption fields to match excludes that we use in RP UI
abb212f Merge pull request rapidpro#590 from nyaruka/interrupt_all_types
fbf5f8a Skipping or interrupting waiting sessions should happen across all flow types
748afc5 Merge branch 'main' into interrupt_all_types
e1c1c73 Improve testing of campaign events
1a56762 When interrupting sessions for flow starts, ignore flow type
957ae8d Pass model contact to InsertSessions and Session.Update
8043f34 Merge branch 'main' into update_current_flow
43367bf Update CHANGELOG.md for v7.1.38
e14c4f8 Update to latest goflow that fixes group removal on contact stop
611b285 Merge branch 'main' into update_current_flow
b8c77ca Merge pull request rapidpro#589 from nyaruka/resolve_urn_validate
1006a52 Resolve endpoint should return error if given invalid URN
16e08bb Merge pull request rapidpro#588 from nyaruka/timed_event_tweak
1ffa9d8 If handling timed event finds different session, don't fail event session as it should have already been interrupted
269577d Update to latest gocommon which fixes resuming with wrong type of resume
8e2890d Improve expiration error message for clarity
73a8960 Merge branch 'main' into update_current_flow
5d6450a Merge pull request rapidpro#587 from nyaruka/test_db_conns
850b773 Rework testsuite so that we don't open a new database connection for every test
6920b94 WIP: update current_flow on contacts
1463cdc Update CHANGELOG.md for v7.1.37
5b40576 Update to goflow 0.149.1
0d8032f Merge pull request rapidpro#584 from nyaruka/import_rows
49021f1 Add _import_row to contact spec so that we can reliably generate import errors with row numbers
a425e10 Update test database
686d6e5 Cleanup of some sql consts
d259b9c Update CHANGELOG.md for v7.1.36
44ab54b Merge pull request rapidpro#583 from nyaruka/remove_run_expires_on
d4731ab Remove expires_on, parent_uuid and connection_id fields from FlowRun
d6fae41 Update CHANGELOG.md for v7.1.35
7850aae Merge pull request rapidpro#582 from nyaruka/session_expirations_2
7fd76e0 Move voice session expiration task to expirations package
0e8cd63 Mark more columns on runs as deprecated
cd5d8a6 Use sessions only for voice session expiration
80552b4 Merge pull request rapidpro#581 from nyaruka/wait_resume_on_expire_not_null
24647a6 FlowSession.wait_resume_on_expire now non-null and don't set to true for IVR flows
ab127ba Update CHANGELOG.md for v7.1.34
bb3e9cd Move two session related functions from runs.go to sessions.go
5699095 Merge pull request rapidpro#579 from nyaruka/session_based_expires
fe57f31 Merge branch 'main' into session_based_expires
7d72764 Merge pull request rapidpro#580 from nyaruka/update_modified_on_in_batches
690d025 Fix broken test by deleting channel connections in testsuite.resetData()
146a841 Update modified_on for contacts in batches of 100
4999736 Rework expiring messaging sessions to be session based
2358d88 Reworked expiration contact event task to not take run id
236c027 Update CHANGELOG.md for v7.1.33
d8dc7cd Merge pull request rapidpro#577 from nyaruka/dial_waits_fix
d50db6d Set wait fields on sessions for dial waits as well
c7d002c Create completed sessions with wait_resume_on_expire = false and update test database
30d6ded Merge pull request rapidpro#576 from nyaruka/clear_contact_current_flow
c5c7715 Reduce exit sessions batch size to 100
422d4a6 Clear contact.current_flow_id when exiting sessions
886a7f7 Update test database
87839d5 Update CHANGELOG.md for v7.1.32
f31916b Merge pull request rapidpro#575 from nyaruka/rework_expirations
93094fe Rework expirations to use ExitSessions
aed09c6 Update CHANGELOG.md for v7.1.31
922fa0e Move more session specific code to sessions.go
86e6610 Merge pull request rapidpro#574 from nyaruka/rework_interrupts
80dba7a Rework interrupting by flow
fcdf1ea Rework interrupting by channel
0b06c81 Start moving session functionality to sessions.go
c336d9f Add more tests for interrupts
a720ee1 Consolidate how we interrupt sessions when given contacts
1c15fb1 Merge pull request rapidpro#573 from nyaruka/deprecate_exit_type
67a5b00 Deprecate use of exit_type and simplify creating new runs
435fba8 Tweak mailroom shutdown to only stop ES client if there is one
3332994 Update CHANGELOG.md for v7.1.30
9e7c522 Merge pull request rapidpro#571 from nyaruka/queue_msgs_with_flow
a5705ae Merge pull request rapidpro#572 from nyaruka/remove_deprecated_search_endpoint_fields
9877bf4 Remove deprecated fields on search endpoint
4e56142 Remove visibility from courier msg JSON
07eb2e3 Include flow reference when queuing messages and add omitempty to some existing fields
64b7c22 Tweak analytics task for readability
b4821c8 Update CHANGELOG.md for v7.1.29
8fe628f Update to latest goflow
5d9b402 Merge pull request rapidpro#465 from nyaruka/modified_on_post_events
c9fc5a2 Merge branch 'main' into modified_on_post_events
34fba1a Update test database
5f085f5 Merge branch 'main' into modified_on_post_events
5e9aa5e Update CHANGELOG.md for v7.1.28
0dda683 Add test for setting wait fields in case of subflow
fd02a09 Let wait_resume_on_expire remain as false even when session no longer waiting (so it can become non-null eventually)
ca2976f Merge pull request rapidpro#570 from nyaruka/redis_analytics
7d38ac5 Include redis stats in analytics cron job
229c8dc Merge pull request rapidpro#569 from nyaruka/wait_resume_on_expire
66c5e14 Update test database
015f75b Update CHANGELOG.md for v7.1.27
c1da1b9 Update wait_resume_on_expire on session writes
55b7194 Merge pull request rapidpro#566 from nyaruka/msg_flow
3f1a6b7 Merge pull request rapidpro#568 from nyaruka/use_run_status
536baf5 Always read run status instead of is_active
c12d42e Merge branch 'main' into msg_flow
c5d2cbd Rename Session.TimeoutOn to WaitTimeoutOn
32cfe70 Save flow id on incoming messages as well
7a5c8f8 Merge branch 'main' into msg_flow
72d4d97 Merge pull request rapidpro#567 from nyaruka/update_test_db
93aa761 Update test database
d43b9ed Add flow_id to msg and record for outgoing flow messages
6504bfa Update CHANGELOG.md for v7.1.26
5e10a3c Merge pull request rapidpro#565 from nyaruka/simpler_fires
35d6048 Add testdata functions for testing campaigns and events
319a2fc Use models.FireID consistently and add better tests
2680c78 Merge branch 'main' into simpler_fires
1835d4a Merge pull request rapidpro#564 from nyaruka/redigo_version
be9a11b Replace broken redigo dep version and anything that was depending on it
092955f Simplify how we queue event fire tasks and improve logging
cf7c67a Update CHANGELOG.md for v7.1.25
d3aea71 Update to latest gocommon
511062f Merge pull request rapidpro#561 from nyaruka/no_run_events
2d7c657 Update CHANGELOG.md for v7.1.24
b3a73ae Update to latest gocommon
d886c1d Merge branch 'main' into no_run_events
b036128 Update to latest goflow and use consistent var name for OrgAssets
34bbe3b Merge branch 'main' into no_run_events
a654e95 Merge pull request rapidpro#563 from nyaruka/dbutil
df38679 Merge branch 'main' into dbutil
5f3b524 Merge pull request rapidpro#562 from nyaruka/no_args_in_pos
a95f9b3 Switch to dbutil package in gocommon
eb2abdd Always exclude router arguments from PO file extraction
bee368b Fix tests
7d0a187 Merge branch 'main' into no_run_events
5c82827 Really fix intermittent test failure
e804e16 Stop writing events on flow runs
37bcd72 Fix intermittent test failure
21d2e85 Update CHANGELOG.md for v7.1.23
7de42b8 Merge pull request rapidpro#559 from nyaruka/wait_expires_db
72c3922 Test sessions in database match model
7473886 Session.CurrentFlowID whould be cleared when session exits
9093e04 Merge branch 'main' into wait_expires_db
a594748 Merge pull request rapidpro#560 from nyaruka/session_tweaks
a4ac641 Correctly set ended_on on session objects and add tests
a83581a Start writing FlowSession.wait_expires_on
575b065 Merge pull request rapidpro#558 from nyaruka/latest_goflow
2e56dc9 Add testing for dial_wait events
eca63c0 Update to latest goflow which removes activated waits
b4bae0a Merge pull request rapidpro#557 from nyaruka/valid_expires
7a607b4 Better tests
ff573d4 Clamp flow expiration values to valid ranges when loading flows
d9bd283 Merge branch 'main' into modified_on_post_events
97a6648 Commit modified_on changes outside of transaction