Irina Peshinskaya
7fffffb199
MT#16121 Optimize callforwards GET method
...
Change-Id: I5672073eaa8b5594a3e4d4d2be64054584771d2b
10 years ago
Andreas Granig
520b66201e
MT#16273 Implement X1 agent interface for REST
...
On X1 requests, properly update the configured agents on the cluster.
Currently we only throw an error if no agents are configured at all,
but let it slip through if the actual requests are failing, as they
might be down or failing.
Change-Id: I0f4e021a5cc4ba6a30e30bb197ed20d4504797d8
10 years ago
Irina Peshinskaya
2685c45074
MT#7227 Use procedure to make records unique on single fee insertion
...
Change-Id: Id55faa08bcb3513abc2afcd04a23f34e1d59628c
10 years ago
Andreas Granig
04a64e1493
MT#16465 partly remove namespace::sweep and others
...
Remove namespace::sweep
Remove MooseX stuff
Remove perl5i
Remove Moose where possible
Change-Id: I4f873afb466f4e58a04c3304ff74df2185470b03
10 years ago
Andreas Granig
45d9f6e3bc
MT#16443 Fix setting reseller_id for contacts
...
When creating customercontact as reseller, the reseller_id is
not properly set.
Change-Id: I5a00475cbd3d4be7db005a8e4ca248266f7381fa
10 years ago
Rene Krenn
b9a6ecdf4b
MT#16171 revert to prior callist direction filter behaviour
...
calls of subscribers of the same contract (inter-pbx?)
should not appear in "in" calls when using "customer_id" filter.
Change-Id: I9380a171c200f87601ae2d047460d3de278e20e9
10 years ago
Irina Peshinskaya
755ca9312a
MT#16323 Add rating_status field into item response and filter for collection
...
Change-Id: Idc82840fd20cfa74ed0e6abe041125e8bb105f8f
10 years ago
Rene Krenn
59339ffc89
MT#16171 useless joins for source_subs = OR dest_subs =
...
+subscriber instead of source_subscriber typo fixed
+rudimentary test case to see if the filter works
+fixed in/out direction filter testcase: sum of in and
out calls should be >= total count of calls
Change-Id: Ibe4b8153f023c53bb463626ad9e6613992fc101d
10 years ago
Irina Peshinskaya
8261f0ec0e
MT#14477 Response about faxserver feature unavailability from API
...
Change-Id: I98dceb0fe75e54ffc39dc9cd9ef9507feff8af33
10 years ago
Andreas Granig
4e228c1dee
MT#16057 Fix dbix syntax fetching concat numbers
...
Change-Id: I6a371c7d7d746206fa45bd916b1b1b60c7b4a968
10 years ago
Rene Krenn
fa2c02ee5f
MT#16045 notopup expiry for balance intervals output
...
including "timely" topup periods.
+for /api/balanceintervals
+and for panel UI, "Contract Balance" contract
details section reworked
api_dump.pl was simplified accordingly.
Change-Id: Ib0c4942b1db059b4fe8ee3343838f516662ca166
10 years ago
Gerhard Jungwirth
ab59660373
MT#15797 skip domain reload
...
* should be probably uniquely implemented for all relevant api calls
Change-Id: Ia8a64623218a288c8f91f4238e891b97db39df52
10 years ago
Irina Peshinskaya
57edaa4689
MT#14461 Adjust subscriber for faxes after subscriber creation
...
Fix faxserversettings PUT/PATCH processing found after faxes tests run
MT#15441 Tests for subscriber number changes
MT#12347 Test framework small fixes and additions
Some format changes and unused library removals
Add put_and_get method as common
Replace request_get & check 200 with check_item_get
Changes for API that doesn't return created object json after POST
Complete base_uri using replacement with normalize_uri
Change-Id: Ia31a97eb9511f1ca1de63c72bcbe380b89dfed34
10 years ago
Rene Krenn
7f7e3332d1
MT#15477 topup log
...
any *attempt* of a top-up request should be
logged.
+create top-up log records for api
in order to record failed top-up requests as well,
the somewhat tricky thing is to have two
separate transactions here
+propery casting of topup request json field
values to numbers etc., so the transaction for
creating the log entry cannot fail and e.g.
requests with subscriber_id='blah' are recorded
correctly
+new "request_token" parameter for /api/topupvoucher
and /api/topupcash, to identify and filter for
particular requests.
+topup log api resource
+topup log api tests
+fix to correctly reject used vouchers
+topup log panel UI
+fix for balanceintervals.t threaded tests
Change-Id: I86eb845f6173803705b12cc7e5cdbac9a3153a0a
10 years ago
Victor Seva
39cb08bd74
MT#15701 API: delete/create domain after changes to DB
...
Change-Id: I11ebb81643a9df06abfa059f3f1db57a032aaa9b
10 years ago
Irina Peshinskaya
026aed82ce
MT#15489 Work with utf8 in json input
...
Change-Id: Icd9bafc06289af32d29e898375a889bea5e7f8b1
10 years ago
Gerhard Jungwirth
fdfac50423
MT#15425 audio_cache reload on soundfile delete
...
Change-Id: I1634c0de4a4e13c52b54e04b9177962591d862d0
10 years ago
Irina Peshinskaya
1ff49c10da
MT#14477 Documentation enchancement for asynchronous API collections
...
Change-Id: Iec515efd05b47ea0e35594be445f7d55f9e70dfb
10 years ago
Irina Peshinskaya
1a3e7dd75b
MT#14477 Fax API (list, send fax, get meta, get content)
...
Change-Id: I29ebef545d0f92945d13765d963693949f6d8264
(cherry picked from commit e2b5411af98a5374552a2c80cf256e6cf1a22e30)
10 years ago
Gerhard Jungwirth
e8f19f7339
MT#15361 fix post soundfiles creating duplicate entry
...
Change-Id: I8f1201325119617fb25b6826ebf249c367a5b82b
10 years ago
Gerhard Jungwirth
a356152416
MT#14979 filter calllists by direction properly
...
Change-Id: I73112f94361592ccce082269e414d5f5a16b42e5
10 years ago
Gerhard Jungwirth
e214d316c0
MT#15361 fix soundcache reload on api post
...
unifying behaviour with PUT and eliminating duplicate code
Change-Id: I8bb15351a64a94407be1ed510ae31489a6b03036
10 years ago
Rene Krenn
33e5f4e71f
MT#14255 initial balance_intervals catchup when starting at 1st of month
...
Change-Id: I9f22ffc112386da1bdac5e3fedb5b69e4a09fcfa
10 years ago
Rene Krenn
7dfc5fda21
MT#14255 panel UI problem setting subscriber 'lock' detail
...
Change-Id: I4873b36526152da64334a8359ce8bfe531ce42a6
10 years ago
Rene Krenn
07c9d1955d
MT#14255 add cash_balance underrun logic
...
in short: whenever the contract_balances "cash_balance" is
about to decrease, it might drop below thresholds defined
by a contract's profile package. in that case, subscribers
are to be locked and/or underrun billing profile sets are
to be applied. this commit also contains some minor fixes:
+when creating/editing profile packages, all billing
profiles of initial, topup, underrun sets must show the
same interval_free_cash and interval_free_time values.
there was also a problem with adding profile sets to
packages that use profile with prepaid = 1 (see ticket
14301)
+when editing packages using the panel UI, the validation
was not properly invoked (!) +the frequency of topups has
to be limited to 1 per second.
+updating the "lock" subscriber prior to editing or viewing
it in the panel UI was added.
+topup cash and topup voucher panel UI added
+when aquiring multiple contract row locks at once, no
joined tables are used any mure. the number of row locks
is therefore minimal now (see ticket 14903)
+rework of updating prepaid subscriber preference
Change-Id: Ideb0fec2404ca10b3ac5d8735f53620d0c3a24ed
10 years ago
Irina Peshinskaya
dd9365f0e8
MT#14739 Get newly created kamailio user location after flush
...
MT#14779 Add default value for the q parameter
MT#14891 Consider form validation for the POST request (create location)
MT#14789 Remove user_agent registration parameter
Change-Id: I9f81ec3ec5c308c731b3dfe6aa5f075c7d7b50ab
10 years ago
Irina Peshinskaya
4ff9e340c0
MT#14653 Don't delete billing_profile_id from API form for HTML::Formhandler
...
Change-Id: I8eebdf82caf18923f05c868f0413c23db4777814
10 years ago
Andreas Granig
21764a52c3
MT#14741 Fix reseller ops for /api/trustedsources/
...
Change-Id: Ie225f3f87ca878a3bf9c70d63cc336922fa5c688
10 years ago
Irina Peshinskaya
0512e767b9
MT#14653 Add required field billing_profile_id to billing zone api
...
And to billing fees;
And also go through uniquizer for the billing_plan cloning
Change-Id: Ia53519f28970c4c717fd011f119143a6323235e5
10 years ago
Kirill Solomko
1db8dac5b6
MT#12707 - add "malicious calls" feature
...
Change-Id: I53138d7ba591f8e138712eb7e6252007fc20d671
10 years ago
Rene Krenn
5a182d037a
MT#14631 topupcash didn't process package id
...
Change-Id: Ic425f747b220d3614ce37145c103206a5c37667b
10 years ago
Irina Peshinskaya
5ecf84a41a
MT#14267 Make possible documentation for api fields of the DataTable type
...
We rename DataType fields from "name" to "name_id", but still often allow
to pass field as "name". So we need to document both possible params.
In the same time, we can't add "name" field again with required title
or other params.
Change-Id: I63acd6d175517b7f0bba3aedaaff079597e9f7c5
10 years ago
Rene Krenn
bef06dce91
MT#14301 deleting prof packages instead of terminating
...
+profile package details view to overlook associations
+voucher count is properly checked before deleting a package
+package_id filters for /api/customers and /api/vouchers
+Fake::Time replaced by Time::Warp for balance_interval tests
+cleanup
Change-Id: Idc34220a9d29c115453eeee2907e70a71cf9f0cc
10 years ago
Rene Krenn
f3b711a050
MT#13903 disable applying profile package
...
This is a patcht introducing a variable to disable
setting profile_package_id's in in the contracts
table. The code should therefore behave as before,
as long rate-o-mat and libswrate are ready.
Not once set to 1 and contract balances are written
to a database once, disabling this constant will
mess up contract_balances!
Change-Id: I080460395627202f3f5a386022de643577f4f3c2
10 years ago
Rene Krenn
bd9f67040d
MT#13903 topupvoucher and topupcash
...
+applying profile package and billing mappings
+testcase in api-balanceintervals.t
+caveats: to meet melita's user story, an additional 'topup_interval' interval start mode will be required. the currently implemented 'topup' start mode restarts intervals upon every topup and therefore does not provide constantinterval lengths.
Change-Id: I0a4898783c023749994e94e6909833a42debe259
10 years ago
Andreas Granig
9a9d5772ce
MT#13903 Add voucher/cash topup forms for API
...
Change-Id: I0a32d1239ca011b46ee69e5b095d364802b92565
10 years ago
Rene Krenn
c378681a24
MT#13903 balance interval catchup and resize WIP
...
+ synchronized contract balance catchup
+ balance interval resizing upon profile package transitions
+ dynamic interval length, interval start, carry-over propagation, ..
+ end-of-month 'preserve' mode correction for strictly aligned month intervals for start_mode=customer "create" timestamp
+ new api/balanceintervals resource to inspect contracts' balance interval histories
+ updated affected panel UI controllers
+ test case with time warps using Time::Fake
caveats:
- creating an invoice for a given 'period' (month) has to be refactored to select a disitnct balance interval. right now it takes the last interval in the month specified.
- generate_invoice.pl is broken and needs a major refactoring
Change-Id: I7bb54a83b76e510b1baa573a986d05400a7fec1e
10 years ago
Andreas Granig
521fc6a59f
MT#13929 Add voucher topup skeleton
...
Change-Id: Ib8080cd7783e2c060b055599244f0f3856761317
10 years ago
Irina Peshinskaya
039fd497b5
MT#12347 Make necessary changes to keep data in the test scripts
...
Adopt tests from vouchers. Suggest to use in vouchers.
Change-Id: Ia157c2c6028a2d2d323fdc1d1d766e6e1f182e56
(cherry picked from commit dd5c984e61
)
10 years ago
Rene Krenn
2537819f0d
MT#12643 billing networks and multi bill prof WIP
...
-properly validate billing mapping intervals
-api/contracts and api/customers complete
+the problem with updating the "prepaid" preference remains at the moment
+billing_mappings field contains future (editable) mappings only, the full schedule is given in a separate field
+hal-links to all occurring billing profiles and networks
-extended tests: api-customer.t and api-contract.t
-api-billingnetworks.t test
-billing networks panel controller
+search by enclosed IP address
-panel UIs for billing networks, customers, contracts
+past billing mapping intervals that cannot be edited are displayed by a seperate hfh "block" part of the billing_profiles repeatable
-profile packages api, UI
+terminating billing profiles (MT#8645) will be broken
+fixed now: profile cannot be terminated unless there are:
-zero non-terminated customers, whose mappings contain the profile with future or open end
-zero profile packages, that link to the profile in either one of their initial-, underrun- or topup profile sets
+panel edit should work, termination wip
+topup_profiles w/o amounts
+contracts/customers API profile_package_id field:
+apply the package's initial profiles
+api/customer and api/contract profile definition modes (id/profiles/package)
+api OK, api-customer.t tests
+customer and contract panel UI with selector to specify actual billing mapping, schedule or profile package (same as api)
+terminate logic harmonized: profiles, networks, packages
+api tests updated
+prepare for merging: cleanup, enable tests
Change-Id: I6c0dec72f490b5731fc673cd393d6aeb08dd8143
10 years ago
Irina Peshinskaya
003e717c02
MT#12937 Replace groups managements different code parts with common methods
...
Change-Id: If598ff0b3cef7c9c8c21ad2c509bce0d9fc4edb7
10 years ago
Andreas Granig
4227fd2522
MT#13201 Enhance voucher API.
...
- Use billing_data ACL grants to modify vouchers
- Use encryption in UI for voucher code
Change-Id: I7711a43db8596d5f733d6c52d2f6608f434b2463
10 years ago
Gerhard Jungwirth
8cb165b3fc
MT#13243 api filter by webuser, -password
...
Change-Id: I27bfe8bfb87cf55272af6dd21fc38608b1d8eb54
10 years ago
Andreas Granig
2c54106fd0
MT#13201 Implement voucher API
...
Change-Id: Ia82579179a29245d51c5ae3d3ea71054ceaf1bf0
10 years ago
Irina Peshinskaya
2e2c008542
MT#7227 Upload billing_fees into 2 stages, for speed and unique records
...
Change-Id: Ie3b4711fa1d31cc900d997e1863800777e526464
10 years ago
Irina Peshinskaya
03aaaa2362
MT#11549 Fix API search by aliases, broken after optimization
...
Change-Id: Ie453ea2a22d8df53464344a4d158b0416da76235
10 years ago
Rene Krenn
a750b795f1
MT#11917 align snapshots in DELETE methods
...
+error message in test descriptions texts
+with recent changes to "description" fields to "required", the strict_sql_mode flage in api-journals.t has to be set.
+missing cftimestes and cfdestinationsets DELETE methods are now finally "journalized" and tested OK.
+other tests were disabled:
>test_billingzone -> journal settings not in yaml file yet, test_customerpreferences -> a valid ncos level item has to be referred (since today?) - ncos api crud methods not journalized yet
>test_profilepreferences -> a valid rewrite rule set item has to be referred (since today?) - rewrite rule set api crud methods not journalized yet
>test_autoattendants -> journal settings not in yaml file yet
>test_subscriberpreferences -> a valid ncos level item has to be referred (since today?) - ncos api crud methods not journalized yet
Change-Id: I75b24b3eb0758d6e4e248758c7861f93abc791c0
10 years ago
Andreas Granig
1a2a467345
MT#12673 Show ncos and rwr prefs desc in API
...
Change-Id: I7207c0ef965deb6f0e35aadb88b5439127188bdb
10 years ago
Rene Krenn
bce0058915
MT#11917 test enviroment json boolean conversion
...
Change-Id: I5b880bfdd39898a14e50949aa9858f800d4bd558
10 years ago
Rene Krenn
c411ece3a9
MT#11917 'must-have' api resources complete
...
- ApplyRewrites
+ AutoAttendants
~ BillingFees
OK + BillingProfiles
+ BillingZones
- CallControls
OK * CallForwards
- CallLists
- Calls
OK * CCMapEntries
OK * CFDestinationSets
OK * CFMappings
OK * CFTimeSets
OK ~ Contracts
+ CustomerBalances
OK * CustomerContacts
OK * CustomerPreferences
OK * Customers
- CustomerZoneCosts
+ DomainPreferences
OK + Domains
~ EmailTemplates
OK * FaxserverSettings
- Interceptions
- Invoices
~ InvoiceTemplates
+ NcosLevels
+ NcosPatterns
+ PbxDeviceConfigFiles
+ PbxDeviceConfigs
+ PbxDeviceFirmwareBinaries
~ PbxDeviceFirmwares
+ PbxDeviceModelImages
+ PbxDeviceModels
+ PbxDeviceProfiles
+ PbxDevices
OK * ProfilePreferences
OK * Reminders
OK ~ Resellers
+ RewriteRules
+ RewriteRuleSets
- SoundFileRecordings
~ SoundFiles
~ SoundHandles
OK * SoundSets
OK * SpeedDials
OK * SubscriberPreferences
OK ~ SubscriberProfiles
OK ~ SubscriberProfileSets
- SubscriberRegistrations
OK * Subscribers
OK ~ SystemContacts
OK * TrustedSources
- VoicemailRecordings
- Voicemails
* VoicemailSettings
Change-Id: Ibbaf8be32c6cda71637e16c40f345a15b8c1f530
10 years ago
Rene Krenn
0d361710f7
MT#11917 CFTimeSets typos
...
Change-Id: I9cc3b44581906f9b26ffa1735a60fb2e05178ada
10 years ago
Irina Peshinskaya
4970dd68fa
MT#12499 Apply default email templates to the created reseller
...
And delete on the reseller deletion
Change-Id: Iab7fdef6c1cadeb7a3b8d2d890c1ee271646558e
10 years ago
Rene Krenn
83fdc85702
MT#11917 include journal in generated API doc page
...
Change-Id: Iab13239e892823e2708f5b13b985db42be45d136
10 years ago
Rene Krenn
b5dca5e6e2
MT#11917 next batch of API resources w. journal
...
-enhanced test detail: did not detect missing CRUD operations yet
-query param 'operation' didn't work for 'recent' yournal entry of all API resources so far
-fix of several copy paste errors in existing rest api code
-...
Change-Id: I71b54212d8126b0280fcad2e568fad52a673cbf0
10 years ago
Irina Peshinskaya
bda844c9d3
MT#10159 Add API call towards MWI on voicemail dir change
...
Change-Id: I37907d1a5351911f5b357ae1e7992c189a9730d3
10 years ago
Rene Krenn
96c731a144
MT#11917 Journaling for first set of resources
...
the journal module introduces a change history of
resources modified by api invocations. the history of
the 'customer' resource demo is accessible at
/api/customers/x/journal.
Change-Id: I4d5d11bc3e35160feed587ce4c1db565991866b2
10 years ago
Irina Peshinskaya
11979e04ad
MT#11147 Create fake data for the devicemodels and pbxdevices tests
...
Change-Id: I782bd536fe6dc18d35857519f463329fba0c9da2
10 years ago
Gerhard Jungwirth
63371e46af
MT#11637 properly define reseller_id on roles of customercontacts
...
Change-Id: I67f845ecbbba53b1ec1b9d1e80388f007f3af069
10 years ago
Kirill Solomko
b622c5e6d1
MT#12165 - utf8 support for JSON data
...
Change-Id: I8416777d8d9030d30881ef92074917757584119d
10 years ago
Irina Peshinskaya
ec9c71dbe3
MT#11147 Phone extensions
...
Change-Id: Ie08f85030a26dc00fe246c71e73a81bd001a2be4
10 years ago
Rene Krenn
eed41633bd
MT#11917 Write journal for customer create/update.
...
Work in progress.
10 years ago
Andreas Granig
bc32830ad9
MT#11741 API: fix pbxdevicemodelimages props doc
...
Change-Id: Iae529c693f7f909e568083b6983b4a792b76b8f0
10 years ago
Andreas Granig
d40f9976ba
MT#11741 API: Add pbxdevicemodelimages resource.
...
Allows to download front/mac image of device model via API.
Change-Id: I83b6ea6a5a25fde23b591468aaa74d3ce42b09e4
10 years ago
Irina Peshinskaya
80ee2a1af9
MT#11549 Add alias filter for subscribers in API too.
...
Change-Id: I88d8650256e5833957bf43f00a506036fa34dd16
10 years ago
Kirill Solomko
8717f99396
MT#10965 - Callforwards api DELETE fix to use callforwards instead of rewriterules, check for non-existing mapping auto removed by mysql
...
Change-Id: Id6fb16b15fae86b00ddf1e4ab590d43c05fe0e03
10 years ago
Irina Peshinskaya
3081b7ab57
MT#10315 Add lock processing into POST method of Subscribers API.
...
Change-Id: Ic171e12906f746b21a714e4864f3a546851c77ff
10 years ago
Andreas Granig
8e844ecf75
MT#10705 Show pbx_groupmember_ids in API doc.
...
Change-Id: I2d1a20e55dcebb09e27fa147add892965bada3a3
10 years ago
Irina Peshinskaya
ce29d22a53
MT#10715 Add Polycom Zero Touch Provisioning (ZTP) client.
...
Change-Id: Ia3671355258dbfcf1533d7d4f87083e3beb10dc6
10 years ago
Irina Peshinskaya
9977fa35f0
MT#10797 Add documentation note and sample with required "type" parameter.
...
Change-Id: I7f935d6593058a732888b79f4301a6fa78a4443e
10 years ago
Andrew Pogrebennyk
21833bf8cf
MT#9453 introduce handling for adm_cf_ncos[_id] preference
...
Change-Id: I17fdb7fa89a8e1682aafe43c02d94c8e230b8098
10 years ago
Irina Peshinskaya
13b2465d9e
MT#10797 Fix package to view API doc.
...
Change-Id: I7709851da67841f8476126e50423392045855fc0
11 years ago
Irina Peshinskaya
649ccfb5c4
MT#10797 Check manadatory customer "type" presence.
...
Change-Id: I0a99845caabc8edfd718163b6bf4b8a0ff79a211
11 years ago
Andreas Granig
64093a0a88
MT#10691 Add digits group for contract sound set
...
Change-Id: I41e2adcb9a0f3b5545fe182ca9764cb519320a97
11 years ago
Andreas Granig
c6b336072b
MT#10537 Support customer_id for calllists.
11 years ago
Andreas Granig
71620f6b8e
MT#10587 Encrypt Yealink configs.
11 years ago
Andreas Granig
ad6dbc258c
MT#10537 API: filter for call type in calllist
11 years ago
Andreas Granig
266e8e7f3e
MT#10537 API: own/other logic for calllist item
11 years ago
Andreas Granig
e28726c1c3
MT#10537 API: Add calllists call.
11 years ago
Irina Peshinskaya
e45b214de4
MT#9177 Add yealink, change architecture and fix credentials store issue
...
Squashed commit of the following:
commit 79484a6e87
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Dec 3 02:11:23 2014 +0200
MT#9177 We don't need update device_id in credentials.
Rather usual thing.
commit d2161a9b3f
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Tue Nov 25 13:16:02 2014 +0200
MT#9177 Return unregister into utils area.
commit ac8115bcc2
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Sun Nov 16 13:58:35 2014 +0200
MT#9177 Yealink works
commit 51336e2b18
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Sun Nov 16 12:23:19 2014 +0200
MT#9177 Yealink add_server
commit 6dc0fde8dd
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Fri Nov 14 09:54:14 2014 +0200
MT#9177 Yealink url via serverName
commit ec00e65878
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:55:07 2014 +0200
MT#9177 Yealink requires server length < 20
commit 0c29750e74
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:45:27 2014 +0200
MT#9177 Wonderfully authorization for Panasonic started to work
Without = at the end
commit 7d3c540a82
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:36:51 2014 +0200
MT#9177 Fix yealink authorization too
commit e39da24bc9
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:15:26 2014 +0200
MT#9177 Small fixes for yealink
commit 9b9e2973ee
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 08:12:33 2014 +0200
MT#9177 Add yealink credentials fields
commit d63e9ab967
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 06:24:46 2014 +0200
MT#9177 Some fixes for this layout
commit bd2a026ed4
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 12 22:43:37 2014 +0200
MT#9177 Use custom bootstrap uri in this layout
commit bfd2f7a96c
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 12 17:07:50 2014 +0200
MT#9177 Further yealink changes
commit 3779466cb6
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 12 15:55:47 2014 +0200
MT#9177 Yealink added
commit 3fa77dcdb0
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 5 08:23:56 2014 +0200
MT#9177 Refactor code to separate vendor specific and common logic
Change-Id: I41a912a5c8f90b3c58cf49b87a38a3b6a7b64bd6
11 years ago
Irina Peshinskaya
0dc5e7bd64
MT#10337 More filters to get uniq records for cloudpbx
11 years ago
Irina Peshinskaya
8792913264
MT#10337 Panel changes get model by get the same way as the dup_item
11 years ago
Andreas Granig
7ae4eb5c07
MT#10199 Exlude profile prefs def.
11 years ago
Andreas Granig
a16c98ae35
MT#10199 Add subscriber profile preferences.
11 years ago
Irina Peshinskaya
0c26c90685
MT#10041 Query_params raised multidomain request in not multidomain env.
...
Let's query_params to know config
11 years ago
Irina Peshinskaya
bcd8c30efd
MT#9177 Add credentials as device fields logic
11 years ago
Andreas Granig
efa2acbc0f
MT#9177 Adapt API to new device bootstrap.
11 years ago
Irina Peshinskaya
a6527bb4c7
MT#9177 API for autoprov. Not tested yet.
11 years ago
Irina Peshinskaya
5902c07ef5
MT#9177 Add panasonic bootstrap.
11 years ago
Irina Peshinskaya
64e0428b85
MT#9671 Add search of subscribers by customer external_id too. Again.
...
This reverts commit c52040353f
.
Tests failed also with this revert, so it seems as safe
to return this functionality.
11 years ago
Irina Peshinskaya
c52040353f
Revert "MT#9671 Add search of subscribers by customer external_id too."
...
This reverts commit a2b4c627f3
.
Reverted to check the cause of the failed api tests.
Will be returned just after build if is not a reason for the failed tests.
11 years ago
Irina Peshinskaya
a2b4c627f3
MT#9671 Add search of subscribers by customer external_id too.
11 years ago
Andreas Granig
5a7c924ff2
MT#9653 Allow reseller api access to cf and fax
11 years ago
Irina Peshinskaya
806820ebb2
MT#9447 Add external_id query parametere for customers.
...
(cherry picked from commit aa99236a2b6d6e86a5dad110edc16eeeb16dc32a)
11 years ago
Andreas Granig
a58ac04e17
MT#9481 API: Implement customer balance handling
11 years ago
Kirill Solomko
e4ecca76e9
MT#8547 - Fix smartmatch ~~ usage
11 years ago
Andreas Granig
3d22196c4a
MT#9263 Fix CF API handling of timesets.
11 years ago
Andreas Granig
86fffe08e1
MT#9263 Fix CF API handling of numbers.
...
Numbers must be normalized to URIs too.
11 years ago
Kirill Solomko
c1c72dd6c7
MT#8547 - replaced experimental "smartmatch" code with the sane if/else custom SWITCH blocks
11 years ago
Andreas Granig
0204022cf5
MT#9225 Modify allowed_clis on add/remove number
...
If ossbss.provisioning.auto_allowed_cli is set, then add/remove
a number from subscriber preference allowed_clis when adding/
removing a number.
11 years ago
Andreas Granig
8e0157b78b
MT#8613 Add basic CRUD for LI X-1 provisioning
11 years ago
Andreas Granig
1306ba53c6
MT#8561 API: filter write ops for r/o users
11 years ago
Andreas Granig
996fd6000c
MT#8299 API: align PUT for pbxdevicemodels.
...
Use multipart/form-data as we do in POST.
11 years ago
Andreas Granig
a5b0aaee2c
MT#8299 Use extended form for device model
...
Define x, y, linepos via HFH instead of validating it manually.
11 years ago
Andreas Granig
4596002eca
MT#8299 API: create full device model with labels
11 years ago
Andreas Granig
853ab093d5
MT#8299 API: Use multipart upload for device model
11 years ago
Gerhard Jungwirth
789d162414
MT#8367 api fix subscriber delete as reseller
11 years ago
Irka
b59e7bb3df
MT#8367 Remove potentially ambiguous voip_subscribers.status reference
...
Now DBIx uses subqueries for sequential searches so no ambiguity
is present now.
11 years ago
Gerhard Jungwirth
2b4e5d0f61
MT#8309 API billingfees logic
...
is_true is not necessary if not mangled by JSON::Types::bool
11 years ago
Gerhard Jungwirth
edff2c4120
MT#7791 API ccmappingentries (callthrough CLIs)
11 years ago
Irka
f95f158323
MT#5879 Merge with Andreas version of Invoice Template APIs.
11 years ago
Irina Peshinskaya
3b281f61cd
MT#7867 InvoiceTemplate API draft.
11 years ago
Gerhard Jungwirth
9f7f55d07f
MT#8063 api fix uploading music_on_hold
...
in case of customer sound set.
and prevent uploading multiple items of the same set/handle.
11 years ago
Gerhard Jungwirth
6c5f35d159
MT8165 explain cfmappings on callforwards doc
11 years ago
Gerhard Jungwirth
17f092219f
MT#7959 fix contract PUT/PATCH, tests
...
now that type is checked by form, it must be
properly passed by put/patch. Also error message changed.
(cherry picked from commit 526a6c1a19
)
11 years ago
Andreas Granig
63056e4d15
MT#7867 Also add invoice tmpl per customer in API
11 years ago
Gerhard Jungwirth
b0a7f8f2b2
MT#7717 explicitly delete related tables of voip_domains
...
to ensure trigger execution on them
11 years ago
Gerhard Jungwirth
fc4bdaf750
MT#7959 update contracts api doc
11 years ago
Andreas Granig
d74f2653f1
MT#7747 Make sure to not store purge_existing
11 years ago
Andreas Granig
6834738216
MT#7747 API: Improve fee bulk upload documentation
11 years ago
Andreas Granig
c34f5e11a0
MT#7747 API: implement fee bulk upload
...
You can now do a POST to /api/billingfees/?billing_profile_id=xx
with Content-Type text/csv, and it will try to parse and insert
the file like the panel does on file upload.
11 years ago
Andreas Granig
3b0aa836d9
MT#7797 API: allow list in customer status filter
...
Use comma-sparated list to filter for certain stati.
Use not_status filter to exclude certain stati.
11 years ago
Gerhard Jungwirth
54810af842
MT#7447 fix soundfiles controller
...
when we disable log_request in auto, the method,
returns false, which means abort the chained dispatch.
see MT#7067
11 years ago
Andreas Granig
9157588f97
MT#7803 API: fetch invoice details via API
11 years ago
Gerhard Jungwirth
49f14f8e8f
MT#7447 fix api customers test
...
we now show terminated customers by default, so filter for
active ones only. see also MT#7797
11 years ago
Gerhard Jungwirth
6dd1562252
MT#7841 API callforwards: improve documentation examples
11 years ago
Gerhard Jungwirth
b0235d97d1
MT#7841 document api callforwards, cfmappings
11 years ago
Andreas Granig
26ec3aad80
MT#7067 API: Don't log sound file on upload.
11 years ago
Andreas Granig
3f8f4880de
MT#7555 API: Terminate instead of delete subs
11 years ago
Andreas Granig
9115b48f70
MT#7797 Filter for terminated customers.
...
- Allow status=xxx in collection
- Fix moving customercontacts
11 years ago
Andreas Granig
f41626e521
MT#7545 Allow multiple pbx groups per subscriber
11 years ago
Andreas Granig
3845260070
MT#7649 API: Implement create/update for pbx devs
...
Delete is not there yet.
11 years ago
Andreas Granig
7c8e355fbc
MT#7177 API: add /api/applyrewrites/ for rwr.
...
Normalize/denormalize a number based on the subscriber and the
direction.
11 years ago
Andreas Granig
1d26af6afe
MT#7177 Implement callee normalization. WIP.
11 years ago
Andreas Granig
2f06618362
MT#4019 Implement C2D in api via /api/callcontrols
11 years ago
Andreas Granig
7089121482
MT#7377 API: Add filter for is_pbx_pilot.
11 years ago
Andreas Granig
c36a127a97
MT#7495 Add customerpreferences rel and fix doc.
11 years ago
Andreas Granig
151b77692f
MT#7487 API: filter subscribers using profile_id
11 years ago
Andreas Granig
e136be4c68
MT#7485 API: filter soundsets for name
11 years ago
Irina Peshinskaya
9f5bf1ad35
MT#5879 Changes related to invoice email template.
...
All schemas are taken as it was before.
11 years ago
Irina Peshinskaya
6d6484a645
MT#5879 Changes related to invoice email template.
11 years ago
Andreas Granig
6ec99075ca
MT#7471 Implement web and api for contract prefs.
11 years ago
Andreas Granig
69e20a8629
MT#7377 API: fix alias_numbers and pbx_extension
...
Properly handle alias_numbers and pbx_extension fields when
creating or updating a subscriber.
11 years ago
Andreas Granig
e0bb62f82b
MT#7323 API: fetch sound handles via REST
11 years ago
Andreas Granig
1b08f6e3ac
MT#7395 API: implement NCOS level and pattern
...
Manage levels and patterns via REST.
11 years ago
Gerhard Jungwirth
8f5c6d0907
MT#7239 API faxserversettings
11 years ago
Andreas Granig
126cf25581
MT#7405 API: allow to filter folder in voicemails
11 years ago
Andreas Granig
e8853cf869
MT#5349 API: Fix domain activation for xmpp
11 years ago
Andreas Granig
8efa32a98a
MT#7377 Use is_pbx_pilot instead of admin flag
11 years ago
Andreas Granig
b827f73ab4
MT#5879 PoC of generating invoice out of template
...
Rework zone fee handling.
Implement invoice creation (WIP) - still real template data missing.
11 years ago
Andreas Granig
4e3b373df3
MT#7119 API: Fix PBX subscriber creation.
...
Document only rendered form fields.
Expose pbx_extension and others via subscribers form.
11 years ago
Gerhard Jungwirth
71aa24e791
MT#7239 enforce boolean context
...
when updating a JSON::Boolean
11 years ago
Gerhard Jungwirth
1b0f0ead8f
MT#7119 remove redundant collection sort
11 years ago
Gerhard Jungwirth
7a79ad2fec
MT#7211 API autoattendants
11 years ago
Andreas Granig
378f53c806
MT#7191 Use DT to select contact country.
11 years ago
Gerhard Jungwirth
09ac08508b
MT#7119 API document sortable columns
...
for collections, as query parameters
11 years ago
Gerhard Jungwirth
c93c8eeb6d
MT#7119 fix broken soundfilerecordings collection
...
when auto returns false, the catalyst chaining is aborted
11 years ago
Gerhard Jungwirth
83d37c5d23
MT#7119 API order_by for collections
...
most collections support ordering by the column names of
their primary table now
11 years ago
Andreas Granig
388cd7cca3
MT#7175 Skip collection in doc if role unspecified
11 years ago
Gerhard Jungwirth
1eadcf7ea7
MT#3955 API callcosts: filter by subscriber_id
11 years ago
Gerhard Jungwirth
ac74b9774d
MT#3955 API callcosts: GET
11 years ago
Gerhard Jungwirth
7333869c54
MT#7113 API subscribers: provide hunt-policy/timeout
...
for a subscriber with is_pbx_group=true
11 years ago
Gerhard Jungwirth
582b835db6
MT#7067 fix api tests
11 years ago
Andreas Granig
60de7de4a7
MT#7067 API: Implement sound file handling.
...
Create new sound files.
Update sound files.
Delete sound files.
11 years ago
Andreas Granig
aaac4b6415
MT#7067 API: Implement sound set handling.
11 years ago
Andreas Granig
b0993b62b9
MT#3939 API: Implement trusted source handling.
11 years ago
Andreas Granig
1cc0aa69f4
MT#7039 API: link subscriberregistrations
...
- Properly join voip_subscribers and voip_domains
- Link relations to subscriber
11 years ago
Andreas Granig
74d3458e66
MT#7061 API: implement reminder handling.
11 years ago
Andreas Granig
7df32a993b
MT#7039 API: implement SIP registration handling
11 years ago
Andreas Granig
7cbdb2762f
MT#3947 API: Implement voicemail settings.
...
Change email, pin, attach and delete via REST.
11 years ago
Andreas Granig
28ee0960a4
MT#3943 API: fetch cdrs via REST.
...
Allow to filter for subscriber_id and customer_id.
11 years ago
Gerhard Jungwirth
14d6b1db63
MT#6985 API more subscribers filters
...
by customer_id, is_pbx_group, is_admin
11 years ago
Andreas Granig
61eb05dd13
MT#3941 API: fix voicemail filtering.
11 years ago
Andreas Granig
4fe7db30c4
MT#3941 API: Prettify voicemail descriptions.
...
Properly link between the corresponding collections.
11 years ago
Andreas Granig
6e5e1b53c4
MT#3941 API: Implement voicemail message handling.
11 years ago
Gerhard Jungwirth
f7ebfe07c1
MT#3937 API speeddials put/patch
11 years ago
Gerhard Jungwirth
d71f12aff9
MT#3937 API speeddials get
...
collection and item
11 years ago
Gerhard Jungwirth
139dabf562
MT#6827 API pbxdevice* improvements
...
search queries, description and form validation
11 years ago
Gerhard Jungwirth
0de65edace
MT#6827 API pbxdevicemodels GET
11 years ago
Gerhard Jungwirth
313bf84e6a
MT#6827 API pbxdeviceconfigs GET
11 years ago
Gerhard Jungwirth
0430f83d46
MT#6827 API pbxdeviceprofiles GET
11 years ago
Andreas Granig
42031a1627
MT#6913 API: prevent reseller profile deletion.
...
Reject if reseller_edit is disabled in config.
11 years ago
Andreas Granig
f30518384b
MT#6913 API: fix syntax error
11 years ago
Andreas Granig
84cc7c36c9
MT#6913 API: fix profile(_set) deletion.
11 years ago
Andreas Granig
19d6b47796
MT#6913 API: implement profile handling.
11 years ago
Andreas Granig
427bd2e312
MT#6913 API: Basic management of profile sets.
11 years ago
Andreas Granig
3ec2d88bfe
MT#6909 API Check for existance of email tmpl name
...
Make sure to not expose internal error on duplicate email template
name/reseller.
11 years ago
Andreas Granig
954367aad5
MT#6827 Update api description for pbxdevices
11 years ago
Andreas Granig
cd98d27ad7
MT#6909 API: implement email template management.
11 years ago
Andreas Granig
1da7f9a7bc
MT#6789 API: validate email template id
...
Its reseller needs to match the customer contact's reseller.
11 years ago
Andreas Granig
88c6e4d78f
MT#6789 API: handle subscriber email and profile.
...
Handle new email field.
Fix profile handling on subscriber creation.
11 years ago
Andreas Granig
e9d30a3b89
MT#6773 Remove DDP, shortcut for Data::Printer
11 years ago
Andreas Granig
976843e55e
MT#6827 API POST/PUT/PATCH/DELETE of field devices
11 years ago
Gerhard Jungwirth
d2a3348a78
MT#6827 API pbxdevices POST
...
wip
11 years ago
Gerhard Jungwirth
816fbcefb6
MT#6827 API pbxdevices GET
...
wip
11 years ago
Gerhard Jungwirth
2fc4743183
MT#6497 API use billing subscriber id on all places in cf_*_sets
...
that is:
- api/cfdestinationsets
- api/cftimesets
11 years ago
Gerhard Jungwirth
63ac99218e
MT#6497 API cfmappings PUT, PATCH
11 years ago
Gerhard Jungwirth
a11b53aa3e
MT#6497 API cfmappings GET
11 years ago
Gerhard Jungwirth
2dd40a8999
MT#6497 API cftimesets
11 years ago
Gerhard Jungwirth
d4cf98646d
MT#6497 API cfdestinationsets
11 years ago
Gerhard Jungwirth
b343f16e5e
MT#6497 API: edit callforwards
...
we use the billing.voip_subscribers id now (as everywhere else)
11 years ago
Gerhard Jungwirth
fc1c89a7c1
MT#6497 API: get callforwards (simple)
11 years ago
Gerhard Jungwirth
21a5d7ee37
MT#6195 API rwr: Give proper reseller access
...
see also MT#6479
11 years ago
Andreas Granig
861e38b649
MT#6283 Add more query params to existing colls
11 years ago
Andreas Granig
45a42b9b61
MT#6479 API: Allow resellers to access some funcs.
11 years ago
Gerhard Jungwirth
6f368e820f
MT#6195 API: rewriterule/rewriteruleset: DELETE
...
and remove some redundant checks (done by formhandler)
11 years ago
Gerhard Jungwirth
31e6c5fa71
MT#6195 API: ability to handle rules directly in rewriteruleset
11 years ago
Gerhard Jungwirth
c7c1e012a9
MT#6195 API: adapt RewriteRules to search framework
...
see MT#6283
11 years ago
Gerhard Jungwirth
ede3d43a42
MT#6195 API: rewriterule/rewriteruleset: POST
11 years ago
Gerhard Jungwirth
11e421dc08
MT#6195 API: rename rewrite -> rewriterulesets
11 years ago
Andreas Granig
11d83a7ead
MT#6283 Implement search-framework.
...
- let custom roles "derive" from main api role
- have an item_rs in each role
- call search logic after each item_rs call automatically
- render search query doc dynamically
11 years ago
Gerhard Jungwirth
36f2be7689
MT#6195 API: rewrite: GET, PUT and PATCH implemented
11 years ago
Andreas Granig
c61b9eec5d
MT#3933 API: Handle subscriber lock/termination
11 years ago
Andreas Granig
da79426c00
MT#3933 API: Implement subscriber preferences.
...
While at it, combine preference handling for subscribers, domains
and peers into a single role.
11 years ago
Andreas Granig
2f749a341a
MT#3933 API: add subscriber editing via PUT/PATCH
11 years ago
Andreas Granig
0218de9cc0
MT#5833 Update italian translation.
11 years ago
Andreas Granig
1f9e407377
MT#3925 API: more doc and description fixes.
11 years ago
Andreas Granig
2c49abb49e
MT#3925 Add more field descriptions to forms.
11 years ago
Andreas Granig
c799df3ebd
MT#3925 API: dynamically render API documentation.
11 years ago
Andreas Granig
d508a519c8
MT#3933 API: tighten subscriber creation.
11 years ago
Andreas Granig
aef3a499a3
MT#5797 Skip Link hdrs for fetching collections.
...
Too many headers break web servers (and probably UAs).
11 years ago
Andreas Granig
71658e12a7
MT#5599 Rework auth/authz for pwd-based API access
...
Cleanup unnecessary realms.
Use roles instead of realms for authz.
HTTP basic auth for api access.
Use admin/reseller roles instead of api_admin/api_reseller.
Fix API::Root invalid_user detaching.
12 years ago
Andreas Granig
ce01267079
MT#3933 API: Check for max_subscribers on create
12 years ago
Andreas Granig
9651c81852
MT#3933 API: fetch and create subscriber. WIP.
...
Doesn't handle PBX stuff yet, only basic subscriber stuff.
12 years ago
Andreas Granig
5929bcdc06
MT#5349 API: add method to fetch dompref meta data
12 years ago
Andreas Granig
e8fa8b2f9c
MT#5349 API: Implement domain preferences. WIP.
...
Missing sanity checks and special handling for certain preferences.
12 years ago
Andreas Granig
58adac5da9
MT#5349 API: Implement GET/DELETE for domain item.
...
There is no PUT/PATCH as we are not allowed to change the domain itself.
TODO: relations to preferences!
12 years ago
Andreas Granig
9592c6b3b7
MT#5349 API: Implement collection part for doms
12 years ago
Andreas Granig
456df97df0
MT#3931 API: implement customer contract handling.
12 years ago
Andreas Granig
3db6117dfd
MT#3931 API: Implement customer contacts.
...
Move update parts into role.
Implement customer contacts.
12 years ago
Andreas Granig
5c5668da28
MT#3949 API: Implement reseller resource handling.
12 years ago
Andreas Granig
c0a6264507
MT#5299 API: Implement implicit zone def for fees
12 years ago
Andreas Granig
b3de58ff9c
MT#5299 API: Implement billing zone handling.
12 years ago
Andreas Granig
bdb129ec67
MT#5299 API: Add billing fee handling.
12 years ago
Andreas Granig
cd2d9e47aa
MT#5255 Fix boolean handling and HFH validation
12 years ago
Andreas Granig
829b432b47
MT#5299 API: PUT/PATCH/GET billingprofiles item
12 years ago
Andreas Granig
3ce79d6703
MT#5299 API: GET and POST billing profiles.
12 years ago
Andreas Granig
45a460a1ce
MT#3949 API: implement contracts handling.
12 years ago
Andreas Granig
14d9374e8c
MT#3949 API: move common contract stuff to role.
12 years ago
Andreas Granig
b64266b969
MT#3949 API: Implement base-line for sys contracts
...
Allows to post, put, patch and get peering and reseller contracts.
Needs tests.
12 years ago
Andreas Granig
7a782eb4fb
MT#5255 API: Create roles for resources.
...
Collections and Items have common functions (e.g. hal_from_xxx),
so move them into separate roles.
12 years ago
Andreas Granig
458852f70e
MT#5255 API: use local time for timestamps.
12 years ago
Andreas Granig
02998dd688
MT#3949 API: base-line for system contracts.
12 years ago
Andreas Granig
6bb57f08f2
MT#3997 Finish API skeleton.
...
We should now have working baselines for
- collections (SystemContacts)
- items (SystemContactsItem)
with support for
- collections: OPTIONS, HEAD, GET, POST
- items: OPTIONS, HEAD, GET, PUT, PATCH, DELETE
covered by according tests and with a proper API documentation.
12 years ago
Andreas Granig
f4a9e39a8a
MT#5255 API: move contacts to systemcontacts.
...
Clearly distinguish between systemcontacts (those without reseller) from
customercontacts (those with resellers). Separating them frees us from
having to handle reseller_id magic.
12 years ago
Andreas Granig
beb93987eb
MT#3997 API: move req/res log functions to Role.
12 years ago
Andreas Granig
a135c00190
MT#5255 API: prevent DELETE of used contact
12 years ago
Andreas Granig
a6c3ecb580
MT#5255 API: Implement DELETE for contacts
12 years ago
Andreas Granig
2c51cbd0fb
MT#3997 Fix PUT with reseller_id=null for contact
12 years ago
Andreas Granig
9aa1560619
MT#3997 Dynamically return collections relations.
12 years ago
Andreas Granig
7b8092f702
MT#3997 Get rid of the remaining tt xml responses
12 years ago
Andreas Granig
515990623f
MT#3997 Fix general collection/item handling.
...
Use paging.
Start adding tests for contacts/ collection.
Move more common functions to Role.
Use proper forms for field checking.
12 years ago
Andreas Granig
a4a9f703bd
MT#3997 Remove QueryParameter dependency.
12 years ago
Andreas Granig
fd19cf79c1
MT#3997 Return JSON on precondition failures.
12 years ago
Andreas Granig
0fb58d2668
MT#3997 Use JSON in OPTIONS methods.
12 years ago
Andreas Granig
40ecb1e91d
MT#3997 Distinguish collection and item in URI
...
Use /api/foo/ for collections and /api/foo/{:id} for items to easily
distinguish between them. Also, we want to use query params for limiting
the collections, e.g. /api/foo/?name={:name}&something={:else}, which in
turn returns a filtered collection again. This makes it difficult then to
fetch items via /api/foo/?id={:id}, so use /api/foo/{:id} instead.
Also move rest of common functions into API Role.
12 years ago
Andreas Granig
59e55c243d
MT#3925 Move contracts/ to Role, tighten contacts/
...
Use Role for Contracts controller.
Check reseller_id in Contacts controller for creating contact.
12 years ago
Andreas Granig
9ef4961e97
MT#3925 Migrate more common methods into Role.
12 years ago
Andreas Granig
8683e52cdd
MT#3925 Move POST validation methods into Role.
12 years ago
Andreas Granig
a7ae65ca82
MT#3925 Use forms for validation only; other fixes
...
Don't use JE for data validation, as it adds lots of processing overhead.
Properly use Formhandler for data validation.
Catch DB errors properly.
Write basic auth test.
12 years ago
Andreas Granig
5068bd0f17
MT#3925 Style and reorganize API templates
12 years ago
Lars Dieckow
e5a42d9306
wip
12 years ago