[OpenSIPS-Devel] [OpenSIPS/opensips] bb57cc: permissions: Integrate with 'db_default_url'
Răzvan Crainea
noreply at github.com
Wed Jul 8 17:19:16 EST 2020
Branch: refs/heads/coverity_scan
Home: https://github.com/OpenSIPS/opensips
Commit: bb57cc1c375b9325138154eb415cebc2fa971ec0
https://github.com/OpenSIPS/opensips/commit/bb57cc1c375b9325138154eb415cebc2fa971ec0
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-07 (Tue, 07 Jul 2020)
Changed paths:
M modules/permissions/address.c
M modules/permissions/address.h
M modules/permissions/partitions.c
M modules/permissions/partitions.h
M modules/permissions/permissions.c
M modules/permissions/permissions.h
Log Message:
-----------
permissions: Integrate with 'db_default_url'
* DB partitions now inherit their DB URL (if not given explicitly)
from 'db_url' -> 'db_default_url'
* the above is similar for the 'table_name' property
(inherit from the 'address_table' modparam)
* rewrite the 'partitions' parser: no more coding style limitations
* backwards-compatible: the 'db_url' is still mandatory if you are
not specifying a partition definition! This is due to the fact
that the module has a non-DB based usage mode
Part of a series of patches for #2117
Commit: 657a8b53f07120e3233059a79f05fa7694ebbc5d
https://github.com/OpenSIPS/opensips/commit/657a8b53f07120e3233059a79f05fa7694ebbc5d
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-07 (Tue, 07 Jul 2020)
Changed paths:
M modules/dialplan/dialplan.c
Log Message:
-----------
dialplan MI 'dp_show_partition': Indicate client-side errors
Commit: 2e8164368b31da9292f08623eac6934ef2057e22
https://github.com/OpenSIPS/opensips/commit/2e8164368b31da9292f08623eac6934ef2057e22
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-07 (Tue, 07 Jul 2020)
Changed paths:
M modules/dialplan/dialplan.c
M modules/dialplan/dialplan.h
M modules/dialplan/dp_db.c
M modules/dialplan/dp_db.h
M str.h
Log Message:
-----------
dialplan: Integrate with 'db_default_url'
* DB partitions now inherit their DB URL (if not given explicitly)
from 'db_url' -> 'db_default_url'
* the above is similar for the 'table_name' property
(inherit from the 'address_table' modparam)
* rewrite the 'partitions' parser: no more coding style limitations
* backwards-compatible: at least one partition must be specified
(even through simply defining a global 'db_default_url') before
the module can start
Part of a series of patches for #2117
Commit: 6443ad5829c15f8ae7dad8bb9f0e4f418702b1ad
https://github.com/OpenSIPS/opensips/commit/6443ad5829c15f8ae7dad8bb9f0e4f418702b1ad
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-07 (Tue, 07 Jul 2020)
Changed paths:
M modules/dialplan/doc/dialplan_admin.xml
Log Message:
-----------
dialplan docs: Update partition, db_url and table_name
Commit: 180674b833ef9e82cb3f97105add2ada6843ddc1
https://github.com/OpenSIPS/opensips/commit/180674b833ef9e82cb3f97105add2ada6843ddc1
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-07 (Tue, 07 Jul 2020)
Changed paths:
M modules/dialplan/doc/dialplan_admin.xml
M modules/permissions/doc/permissions_admin.xml
Log Message:
-----------
permissions docs: Update partition, db_url and address_table
Commit: cc2f4a8c49402f99502a58940d2fbb51daed6e47
https://github.com/OpenSIPS/opensips/commit/cc2f4a8c49402f99502a58940d2fbb51daed6e47
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-07 (Tue, 07 Jul 2020)
Changed paths:
M modules/dispatcher/dispatcher.c
Log Message:
-----------
dispatcher: Fix a bug with the 'default' partition
This commit allows the "default" partition to be populated just like the
other ones:
modparam("dispatcher", "partition",
"default:
db_url = mysql://opensips:opensipsrw@127.0.0.1/opensips_3_2;
table_name = v1_dispatcher")
Commit: 198687e17d13a06b0868676252292643c6d549c4
https://github.com/OpenSIPS/opensips/commit/198687e17d13a06b0868676252292643c6d549c4
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-07 (Tue, 07 Jul 2020)
Changed paths:
M modules/dispatcher/dispatcher.c
Log Message:
-----------
dispatcher: Add useful debug log
Commit: c7d668bad5b2b41a9c9065e1539914f0629ccf64
https://github.com/OpenSIPS/opensips/commit/c7d668bad5b2b41a9c9065e1539914f0629ccf64
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M modules/dispatcher/dispatch.c
M modules/dispatcher/dispatcher.c
Log Message:
-----------
dispatcher: Integrate with 'db_default_url'
* both 'db_url' and a partition DB URL will inherit their starting
value from the 'db_default_url' global
* add the option to point the default partition to a known one, in
order to avoid unwanted loading of the default table. Example:
modparam("dispatcher", "partition", "default: trunks")
modparam("dispatcher", "partition", "trunks: db_url = ...")
Commit: 89a618be1f005d1bc80d528bc41de73fff24533a
https://github.com/OpenSIPS/opensips/commit/89a618be1f005d1bc80d528bc41de73fff24533a
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M modules/dispatcher/doc/dispatcher_admin.xml
Log Message:
-----------
dispatcher docs: Update partition, db_url and table_name
Commit: efee3438773a83c1a05edc8b05ba45f53a83c5a6
https://github.com/OpenSIPS/opensips/commit/efee3438773a83c1a05edc8b05ba45f53a83c5a6
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M modules/dialplan/dialplan.c
M modules/dialplan/doc/dialplan_admin.xml
M modules/dialplan/dp_db.c
Log Message:
-----------
dialplan: Allow re-pointing the default partition
This is useful in situations where script writers do not intend to cache
the default 'dialplan' table, rather only the named partitions.
Example syntax:
db_default_url = "mysql://opensips:opensipsrw@127.0.0.1/opensips"
...
modparam("dialplan", "partition", "
pstn:
table_name = dialplan_pstn")
modparam("dialplan", "partition", "default: pstn")
Commit: c8d442df627aaf569a774c434e3cedc949bba17a
https://github.com/OpenSIPS/opensips/commit/c8d442df627aaf569a774c434e3cedc949bba17a
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M modules/drouting/drouting.c
Log Message:
-----------
drouting: Improve confusing error logs
Commit: 24f9e7b294903bdb439a4e681ee0950d1d0837f6
https://github.com/OpenSIPS/opensips/commit/24f9e7b294903bdb439a4e681ee0950d1d0837f6
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M modules/proto_smpp/proto_smpp.c
Log Message:
-----------
proto_smpp: Inherit DB URL from 'db_default_url'
Commit: 990d18f79735f547ed36da58236dea9c24221493
https://github.com/OpenSIPS/opensips/commit/990d18f79735f547ed36da58236dea9c24221493
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M modules/proto_smpp/proto_smpp.c
Log Message:
-----------
proto_smpp: Fix crash on startup
Commit: ff7b5849751d11537d989afe2b17ef35ebd2a133
https://github.com/OpenSIPS/opensips/commit/ff7b5849751d11537d989afe2b17ef35ebd2a133
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M modules/b2b_entities/b2b_entities.c
M modules/b2b_logic/b2b_logic.c
Log Message:
-----------
b2b entities/logic: Inherit `db_default_url` if possible
If there is still no DB URL, simply start without DB support (just as
before)
Commit: 11560e35ee4b65c68f021cad3d89c1f430b3914e
https://github.com/OpenSIPS/opensips/commit/11560e35ee4b65c68f021cad3d89c1f430b3914e
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M modules/b2b_entities/b2b_entities.c
M modules/b2b_logic/b2b_logic.c
M modules/dialplan/dialplan.c
M modules/dialplan/dialplan.h
M modules/dialplan/doc/dialplan_admin.xml
M modules/dialplan/dp_db.c
M modules/dialplan/dp_db.h
M modules/dispatcher/dispatch.c
M modules/dispatcher/dispatcher.c
M modules/dispatcher/doc/dispatcher_admin.xml
M modules/drouting/drouting.c
M modules/permissions/address.c
M modules/permissions/address.h
M modules/permissions/doc/permissions_admin.xml
M modules/permissions/partitions.c
M modules/permissions/partitions.h
M modules/permissions/permissions.c
M modules/permissions/permissions.h
M modules/proto_smpp/proto_smpp.c
M str.h
Log Message:
-----------
Merge branch 'bugfix/db-default-url-inheritance'
Commit: 4805904228224c721804274472a8991f58a94c1b
https://github.com/OpenSIPS/opensips/commit/4805904228224c721804274472a8991f58a94c1b
Author: Razvan Crainea <razvan at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M cfg_pp.c
Log Message:
-----------
prevent leak in case of oom
Fixes Coverity #211383
Commit: 3978bd5c80dac69c74c1f1d12f034fd88a656772
https://github.com/OpenSIPS/opensips/commit/3978bd5c80dac69c74c1f1d12f034fd88a656772
Author: Razvan Crainea <razvan at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M lib/reg/common.c
Log Message:
-----------
fix tcp_persistent_flag when list is not defined properly
Fixes Coverity #211381
Commit: 6b56ca5fa1163bc290a4c01f554e07cae860fa8c
https://github.com/OpenSIPS/opensips/commit/6b56ca5fa1163bc290a4c01f554e07cae860fa8c
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M modules/db_text/dbt_lib.c
Log Message:
-----------
db_text: Fix Coverity warning (bad 'switch' fallthrough)
Thanks to Răzvan Crainea for the help!
Commit: 16e1de04c5bc35522b96ae0e38746aa9ae96db03
https://github.com/OpenSIPS/opensips/commit/16e1de04c5bc35522b96ae0e38746aa9ae96db03
Author: Razvan Crainea <razvan at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M modules/b2b_sca/sca_db_handler.c
M modules/proto_ws/proto_ws.c
M modules/speeddial/sdlookup.c
M modules/tm/sip_msg.c
M modules/tm/t_fifo.c
M parser/parse_disposition.c
M parser/parse_hname2.c
M parser/parse_to.c
M parser/parse_via.c
M ut.c
Log Message:
-----------
comment fall through switches
Fixes Coverity #40710, #211397, #40716, #40726, #40727, #40728, #40730,
#40732, #58373, #58381, #199975, #200059, #200094, #211380, #211372,
#211359
Commit: 467a738cfbe92d75f46af1d5b872370379b942c0
https://github.com/OpenSIPS/opensips/commit/467a738cfbe92d75f46af1d5b872370379b942c0
Author: Razvan Crainea <razvan at opensips.org>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M modules/b2b_entities/b2b_entities.c
M modules/b2b_logic/b2b_logic.c
M modules/db_text/dbt_lib.c
M modules/dialplan/dialplan.c
M modules/dialplan/dialplan.h
M modules/dialplan/doc/dialplan_admin.xml
M modules/dialplan/dp_db.c
M modules/dialplan/dp_db.h
M modules/dispatcher/dispatch.c
M modules/dispatcher/dispatcher.c
M modules/dispatcher/doc/dispatcher_admin.xml
M modules/drouting/drouting.c
M modules/permissions/address.c
M modules/permissions/address.h
M modules/permissions/doc/permissions_admin.xml
M modules/permissions/partitions.c
M modules/permissions/partitions.h
M modules/permissions/permissions.c
M modules/permissions/permissions.h
M modules/proto_smpp/proto_smpp.c
M str.h
Log Message:
-----------
Merge branch 'master' into coverity_scan
Compare: https://github.com/OpenSIPS/opensips/compare/a3373125c9cc...467a738cfbe9
More information about the Devel
mailing list