Commit Graph

73 Commits

Author SHA1 Message Date
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
Spitzer_Daniel
81ba7c633c Devices:
OLT ONT Implementation Devices
Snmp Version

Devicetypes:
Olt Flag
2023-07-04 18:19:30 +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
Frank Schubert
5dbf05d55f Changes for Preorder:
- Added OAID to Hausnummer and Wohneinheit
- Added format parameter to /addressdb/findAddress
- Added additional fields to /addressdb/findAddress
- Updated api doc yaml
- Updated addressdb import scripts for Liezen
2022-12-06 22:47:58 +01:00
Frank Schubert
d65e2c5f88 Enabled campaign timeframe checking 2022-12-06 17:55:59 +01:00
Frank Schubert
cd6a48ff16 Added unit details to customer address in Preorder 2022-12-06 16:55:52 +01:00
Frank Schubert
33ff1273ed Added GET /preorder api endpoint 2022-12-06 12:43:42 +01:00
Frank Schubert
a15545d552 Added permissions to internal BuildingApi 2022-11-29 18:15:18 +01:00
Frank Schubert
9a87c00abb Added exist_is_error flag and showing api_request in Preorder 2022-11-29 15:14:46 +01:00
Frank Schubert
b9db22d0b7 Added hausnummer_add_zusatz flag to campaigns 2022-11-29 14:14:45 +01:00
Frank Schubert
d209d4d7fe Fixed error in wohneinheit query 2022-11-28 12:37:44 +01:00
Frank Schubert
bf4e269e6d added rollout_info to results in findAddress 2022-11-22 15:24:17 +01:00
Frank Schubert
601832b6b9 Added /findDistrict to api docs; optimized findDistrict query 2022-11-22 15:17:50 +01:00
Frank Schubert
9fce075b6a District now optional freetext in Preorder API 2022-11-22 14:49:18 +01:00
Frank Schubert
d2853f7bea Preordercampaigns can use city or district as city 2022-11-18 16:31:06 +01:00
Frank Schubert
e38c057ef3 ContractConfig ausgebaut 2022-11-17 23:10:08 +01:00
Frank Schubert
808f104ae8 Removed unnecessary fields from findAddress api 2022-11-16 16:20:10 +01:00
Frank Schubert
95707ab92a Changes for ADBOrtschaft in preorder api 2022-11-15 13:07:20 +01:00
Frank Schubert
7e0695553b Merge branch 'master' of code.fronk.at:fronk/thetool 2022-11-09 13:27:59 +01:00