Commit graph

130 commits

Author SHA1 Message Date
Christian Müller
dcb4492d52 Add Device ActiveConnection 2019-09-11 10:58:15 +02:00
Christian Müller
f51b27b839
Merge pull request #4 from joseffilzmaier/master
Change DeactivateConnection paramter
2019-08-29 17:24:05 +02:00
Christian Müller
6730bdafad Update NetworkManager.go
Fix the interface removing unimplemnted methods
2019-08-29 17:21:09 +02:00
Christian Müller
43375d86be
Merge pull request #2 from jkirkwood/master
Add GetSecrets method to connection
2019-08-29 16:56:10 +02:00
Michel Wohlert
4fdc455bc7 Added connection delete 2019-08-20 09:32:56 -04:00
Josef Filzmaier
e5941e8300 Change connection parameter name
The developer.gnome.org spec specifies that the
function call DeactivateConnection() requires
an ActiveConnection as its parameter.
2019-08-14 18:54:51 +02:00
jkirkwood
337d0bb01e Add more wireless device properties 2019-07-10 22:57:00 -04:00
jkirkwood
2c7e6be272 Add GetSecrets method to connection 2019-07-10 15:37:19 -04:00
Tom Wambold
03a3b409e2
Merge pull request #11 from Meskedal/duplicate_fix
Fixed duplicate entries in nm and utils
2019-06-29 21:56:31 -04:00
meskedal
4c09e115f8 Fixed duplicate entries in nm and utils
After the latest merge there was a duplicate entry of AddAndActivateWirelessConnection in NetworkManager.go
which has been removed. There was also duplicate functions call2 and
callError2 in utils.go. The duplicate of AddAndActivateWirelessConnection referenced
callError2, and both of these duplicates has been removed.
2019-06-29 23:53:31 +02:00
Tom Wambold
7f3cfc8b74
Merge pull request #10 from phommel/master
Don't Panic ™ : Refactoring of execption handling from panic to error values
2019-06-26 10:08:15 -04:00
Peter Hommel
12d19b58ae Don't Panic: Forward all errors as error values. Read this for reference: https://dave.cheney.net/2012/01/18/why-go-gets-exceptions-right 2019-06-26 09:24:05 +02:00
Christian Müller
27de9ee243
Merge pull request #1 from jkirkwood/master
Standardize property names and remove panics
2019-06-20 16:20:42 +02:00
jkirkwood
744dfb200e Remove all panicking from methods 2019-06-19 17:47:59 +00:00
jkirkwood
2a9ef418e6 Implement better error handling for properties 2019-06-19 17:26:36 +00:00
Christian Müller
dfa13818d7 Add DeviceStatistics 2019-06-19 10:36:11 +02:00
Christian Müller
edc408ad29 Add getUint64Property 2019-06-19 10:36:04 +02:00
Christian Müller
4b4b6d712a Use CameCase for all enums (breaks API) 2019-06-12 14:57:33 +02:00
Christian Müller
df51fdd589 Add new types strings conversions 2019-06-12 14:51:29 +02:00
Christian Müller
0f5a9d164e Update REAMDME to 1.16 2019-06-12 14:45:25 +02:00
Christian Müller
0a5fad1fde Ad Checkpoint.MarshallJSON 2019-06-12 14:45:02 +02:00
Christian Müller
79378fe268 Add Checkpoint properties 2019-06-12 14:42:59 +02:00
Christian Müller
ff4ee87140 Complete NetworkManager Methods and properties, add Checkpoint (empty) 2019-06-12 14:34:18 +02:00
Christian Müller
06880b4163 Add ActiveConnection.GetPath 2019-06-12 11:10:06 +02:00
Christian Müller
fee15bfbc3 Ad DeviceEthernet / Wired 2019-06-11 17:18:09 +02:00
Christian Müller
acdef35b8f Add DeviceIpTunnel 2019-06-11 17:17:55 +02:00
Christian Müller
e7d3e5b620 Add DeviceGeneric 2019-06-11 17:17:45 +02:00
Christian Müller
0e793812a6 Add DeviceDummy 2019-06-11 17:17:36 +02:00
Christian Müller
13310c5efe Rename WirelessDevice to DeviceWireless for future consistency 2019-06-11 12:09:34 +02:00
Christian Müller
cda635bea4 Add NetworkManager.AdAndActivateConnection 2019-06-05 08:33:01 +02:00
Christian Müller
84f8864a22 Add NetworkManager.DeactivateConnection 2019-06-03 16:39:36 +02:00
Christian Müller
bfdf42806c Add NetworkManager.ActivateConnection 2019-06-03 16:38:38 +02:00
Christian Müller
43dec4c754 NetworkManager doc typos 2019-06-03 16:38:08 +02:00
Christian Müller
553bba8ed1 Add Device.IP6Config and Device.DHCP6Config properties support 2019-06-03 10:59:03 +02:00
Christian Müller
ca7c1e2942 Adding settings properties and methods 2019-05-29 08:30:44 +02:00
Christian Müller
4e0c045d1d Adding new Device properties 2019-05-29 08:06:43 +02:00
Christian Müller
abedd499b3 Complete Connection interface 2019-05-28 17:43:33 +02:00
Christian Müller
3f7449c467 Add Device.Delete 2019-05-28 14:33:21 +02:00
Christian Müller
875ed76c55 Add Device.Disconnect 2019-05-28 14:33:07 +02:00
Christian Müller
b9e95e8780 Refactor callAndPanic to callWithReturnAndPanic 2019-05-28 11:06:28 +02:00
Christian Müller
a165df46fa Fix Settings properties path 2019-05-27 16:22:02 +02:00
Christian Müller
2cd4d064d3 Add DHCP6 config 2019-05-27 15:04:18 +02:00
Christian Müller
3a91ad9f21 Return nil when optional DHCP / IP config is unavailable 2019-05-27 14:59:39 +02:00
Christian Müller
c6e950e45a Add ActiveConnection.IP6Config 2019-05-17 18:13:37 +02:00
Christian Müller
c8c883838e Fix IP6Config nameserver data fetch 2019-05-17 18:13:23 +02:00
Christian Müller
bdc679ae76 IP6Config (new API) methods implementation 2019-05-17 17:55:58 +02:00
Christian Müller
053b71438e IP4Config (new API) methods implementation 2019-05-17 17:55:50 +02:00
Christian Müller
e5777e2fd1 Add IP6Config (WIP) 2019-05-17 17:10:44 +02:00
Christian Müller
9213556292 Update IP4Config with new methods (WIP) 2019-05-17 17:09:18 +02:00
Christian Müller
03507ea528 Revert flags type usage to be able to use multiple flags 2019-05-17 15:21:19 +02:00