Commit Graph

89 Commits

Author SHA1 Message Date
Frank Schubert
83fce677db Added Merdian to Preorder export and AdressDB find/search API 2023-09-05 07:03:13 +02:00
Frank Schubert
6606083239 Added RW/HR to AddressDB API search 2023-08-31 06:52:33 +02:00
Frank Schubert
51d439c1de Added RW/HW to AddressDB Api search/find functions 2023-08-31 06:45:55 +02:00
Frank Schubert
4df128362f Fixed issue when PreorderApiUser has non-existent campaign linked 2023-08-21 10:20:03 +02:00
Frank Schubert
9f051b4cf3 OAID / Rimo Workorder update:
- OAIDs are now auto assigned to preorders/wohneinheiten on save
- OAIDs can be exported to rimo via Preorder Admin functions
- Preorder admin function createWorkorder automatically creates, exports and assigns OAIDs
2023-08-09 09:02:44 +02:00
Frank Schubert
5e743582e0 Merge branch 'devbyspi' into 'master'
Devices-Übersicht/DeviceApicontroller/SmsNotification

See merge request fronk/thetool!56
2023-07-27 03:35:38 +00:00
Spitzer_Daniel
80ad551c50 Devices-Übersicht:
* Anzeige des Backupstatus (OK,älter als 48 Stunden, kein Backup vorhanden)

DeviceApicontroller:
* Update Devices hinzugefügt (nur last_config_backup update erlaubt)

Funktionsweise:
Sobald eine Config am API Server registriert wird, wird per API Richtung Tool der Timestamp der Config in der Tool-DB geupdated
Somit ist für die Übersicht keine direkte API Schnittstelle notwendig.

SmsNotification Klasse hinzugefügt.
Habs gleich wie die Emailnotification gehalten.
Ist zum puschen von SMSen an ein Absenderarray oder Einzelabsender.
Erfüllt in dem Commit noch keine Funktion.

Config Erweiterungen:
define("TT_OUTGOING_SMS_API_KEY", "key");
define("TT_OUTGOING_SMS_API_URL", "api.websms.com/rest");
2023-07-25 14:06:12 +02:00
Frank Schubert
522e0e6202 DELETE /preorder/:code now marks order as deleted directly 2023-07-21 09:10:09 +02:00
Frank Schubert
6568394aeb Added check for preorderType in address and campaign to api 2023-07-19 11:44:16 +02:00
Frank Schubert
41fbc782ff Merge branch 'devbyspi' into 'master'
OLT ONT Implementation Devices

See merge request fronk/thetool!39
2023-07-04 16:28:17 +00:00
Spitzer_Daniel
81ba7c633c Devices:
OLT ONT Implementation Devices
Snmp Version

Devicetypes:
Olt Flag
2023-07-04 18:19:30 +02:00
Frank Schubert
01da1b6f8b updated prem nord home update script 2023-06-29 14:26:32 +02:00
Frank Schubert
f17729ba63 New Preorders can now be ordered with OAID instead of address 2023-06-19 14:17:35 +02:00
Frank Schubert
f8e30e30d7 POST Preorder with OAID instead of address 2023-06-19 11:34:12 +02:00
Frank Schubert
d2ef831e3d Added permission check in PreorderApi for preorderaddressreporting 2023-06-06 12:58:06 +02:00
Frank Schubert
7216b3339d preorderaddressreporting permission; preorder split script updated 2023-05-31 15:57:28 +02:00
Frank Schubert
2bf3f27a06 When canceling Preorder, status will be set to 899 cancelled 2023-05-25 21:01:18 +02:00
Frank Schubert
f680170da2 Refined rimo filters in Preorder 2023-05-24 17:29:01 +02:00
Frank Schubert
a2b519f6f3 Added accept_digging to preorder 2023-04-27 14:20:14 +02:00
Frank Schubert
d7e12ad4e6 Merge branch 'devbyspi' into 'master'
Devices

See merge request fronk/thetool!6
2023-04-06 15:13:34 +00:00
Spitzer_Daniel
73291d8ee0 Devices
	Standortinformationen hinzugefügt (Wenn keine Pop ausgewählt)
	Umschaltbar Adresse/Koordinaten
	Adresse: Straße/Hausnummer/PLZ/Ort
	Huawei Backups Implementation
2023-04-06 15:53:33 +02:00
Frank Schubert
9f9ba3f806 SubmitPreorder: city now optional; cutting cityname from street 2023-03-31 15:06:52 +02:00
Frank Schubert
8e72421df6 Added additional allowed headers in CORS 2023-03-27 14:03:54 +02:00
Frank Schubert
0d9824ea84 PreorderApi/submit: ignoring unit_string if the specific fields were provided 2023-03-22 16:02:08 +01:00
Frank Schubert
95a452bba7 Merge branch 'master' into 'devbyspi'
# Conflicts:
#   Layout/default/Device/Detail.php
#   Layout/default/Device/Form.php
#   Layout/default/Device/Index.php
#   application/Device/DeviceController.php
#   application/Device/DeviceModel.php
#   public/assets/css/datatables-std.css
2023-03-22 14:36:13 +00:00
Spitzer_Daniel
0ce064b56b Gerätehersteller, Devices, API Erweiterungen 2023-03-22 15:23:35 +01:00
Frank Schubert
388e8ea164 GET /preorder/open: if no timestamp supplies, only show open orders 2023-02-27 17:10:22 +01:00
Frank Schubert
1a8848e02f api changes:
- GET /preorder/open - get all open preorders
 - added extref to preorder requests and responses, can be used to
   identify a specific preorder
2023-02-27 16:17:37 +01:00
Frank Schubert
b47bf6ca0f Tweaked sorting in searchAddress 2023-01-10 17:34:58 +01:00
Frank Schubert
4ed37fa88e Fixed not finding some specific addresses 2023-01-10 13:09:53 +01:00
Frank Schubert
b86a699c57 Added municipality for district_is_city campaigns 2023-01-05 14:15:17 +01:00
Frank Schubert
7af6a3a24d Made addressdb/searchAddress more strict: all tokens must be found 2022-12-22 17:45:59 +01:00
Frank Schubert
41ad786a68 Added getClusters api endpoint 2022-12-19 14:43:24 +01:00
Frank Schubert
f1af5ec0e7 minor fix 2022-12-19 14:13:17 +01:00
Frank Schubert
9b8bde77ec Added cluster_id to preorder API endpoints 2022-12-19 14:10:29 +01:00
Frank Schubert
fc67cd133f Fixed wohneinheit query in /addressdb/findAddress 2022-12-15 11:26:22 +01:00
Frank Schubert
fe09e19e84 Increased (find|search)Address performance by using query instead of
view
2022-12-14 17:04:24 +01:00
Frank Schubert
532bd84a65 Added unit_string to customer data in preorder 2022-12-14 15:49:30 +01:00
Frank Schubert
73831b6de6 Fixed existing preorders not ignoring deleted preorder in POST /preorder 2022-12-14 15:08:40 +01:00
Frank Schubert
43caf0e344 rename unit_id to unit_string 2022-12-13 21:02:43 +01:00
Frank Schubert
33844bf778 Addd partner_id check in GET /preorder 2022-12-13 20:15:01 +01:00
Frank Schubert
ae60ee365a Preorder changes:
- New Wohneinheit field bezeichner
- technology & patchposition fields
- isAdditionalOrder field
- DELETE /preorder (Cancelling)
2022-12-13 20:09:38 +01:00
Frank Schubert
5ce0203a0b Implemented allow_unit_update in preorder 2022-12-12 18:46:22 +01:00
Frank Schubert
76cfa8e5fd Fixed is_shipping 2022-12-12 16:43:37 +01:00
Frank Schubert
e6f2cc1dbe minor change in searchAddress 2022-12-12 16:20:17 +01:00
Frank Schubert
20eae9a79b minor changes to searchAddress sorting logic 2022-12-12 16:10:02 +01:00
Frank Schubert
0ce37b87bc Added /addressdb/searchAddress api endpoint 2022-12-12 15:04:20 +01:00
Frank Schubert
e66645aa5e Improved performance in findAddress 2022-12-07 02:51:59 +01:00
Frank Schubert
47aeb68a10 Improved performance in findAddress 2022-12-07 02:33:03 +01:00
Frank Schubert
6b77300556 Improved performance in findAddress 2022-12-07 02:17:12 +01:00