Commit graph

130 commits

Author SHA1 Message Date
Christian Müller
4b20a2d51a
Merge pull request #26 from felixmr1/master
General fixes and improvements
2022-01-17 08:35:05 +01:00
Felix Rosén
a1ddfeaa9c fix(examples): move examples to their own subfolders 2021-12-13 20:36:07 +01:00
Felix Rosén
19203e6d79 fix(DeviceWireless): remove duplicated fields 2021-12-13 20:28:37 +01:00
Felix Rosén
0080a5c9db feat(AccessPoint): add LastSeen property
The property field can be seen as available here:
https://developer-old.gnome.org/NetworkManager/stable/gdbus-org.freedesktop.NetworkManager.AccessPoint.html#gdbus-property-org-freedesktop-NetworkManager-AccessPoint.LastSeen

Its also showing, in the `Body` of the recieved dBus signal on the
`Subscribe()` method.
2021-12-13 20:28:34 +01:00
Felix Rosén
bfc40dcb21 fix(PrimaryConnection): use ActiveConnection type
Instead of returning a `Connection` it should return an `ActiveConnection`
2021-12-13 20:20:07 +01:00
Felix Rosén
ba0310894b fix(SubscribeState): add the path to the recieved chan type
also remove the check for the signal to be the current path
since this will block us from receiving updates to the actual object

before it only signaled on when we deactivated, since the activation
happens on another device.
2021-12-13 20:16:38 +01:00
Christian Müller
3ba9bbd706
Merge pull request #18 from yourapiexpert/master
Feature: Implement Settings.ReloadConnections
2021-03-26 09:02:50 +01:00
Christian Müller
44424b8ca7
Merge pull request #17 from bingfengfeifei/master
Fix GetPropertyRouteData panic
2021-03-26 09:01:42 +01:00
Christian Müller
6582e83911
Merge pull request #16 from Raqbit/add-wireless-enabled-setter
Implement SetPropertyWirelessEnabled
2021-03-26 08:54:56 +01:00
Christian Müller
fa58062497
Merge pull request #19 from everactive/master
Sample of static connection
2021-03-25 13:46:23 +01:00
everactivemilligan
234b0e848e
Cleaning up errors and settings
Consistency on returns and program flow
2021-03-18 16:26:13 -04:00
everactivemilligan
fd171d0928
Sample of static connection
A sample static connection creation over dbus using gonetworkmanager.
2021-03-18 13:08:49 -04:00
zhengdelun
771559372e Eliminate empty route items
Signed-off-by: zhengdelun <xszhengdelun@gmail.com>
2021-02-25 10:59:33 +08:00
Stephen Lombard
085876362a feat: implement Settings.ReloadConnections 2021-02-23 20:22:17 -08:00
zhengdelun
e67f06a4ab Fix GetPropertyRouteData panic
Signed-off-by: zhengdelun <xszhengdelun@gmail.com>
2021-02-23 10:26:25 +08:00
Raqbit
97d8aa8b42
Implement SetPropertyWirelessEnabled 2020-11-13 17:25:10 +01:00
Christian Müller
594bfca331 Merge branch 'master' of https://github.com/Wifx/gonetworkmanager 2020-08-20 13:52:15 +02:00
Christian Müller
e6d07eb88c Add CheckpointRollback
And NmRollbackResult
2020-08-20 13:52:09 +02:00
Christian Müller
37696d341d
Merge pull request #14 from paulburlumi/add_getconnectionbyuuid
settings: add GetConnectionByUUID method
2020-07-31 16:16:28 +02:00
Christian Müller
10daa7f841 Add ActiveConnection StateChanged signal subscription 2020-07-31 16:14:41 +02:00
Christian Müller
41ad7838fe Add VpnConnection
Update ActivateConnection to support empty Device
Add ActivateConnection specific object (BREAKING CHANGE)
2020-07-31 16:13:01 +02:00
Paul Burlumi
bccd98f07a settings: add GetConnectionByUUID method 2020-06-29 14:30:47 +01:00
Christian Müller
0369d842fa
Update README.md 2020-03-19 16:11:21 +01:00
Christian Müller
ff992cedc5
Add build action badge 2020-03-19 16:08:59 +01:00
Christian Müller
aeb83621f6
Merge pull request #11 from joseffilzmaier/setManaged
Add missing error return value to Device Interface
2020-03-19 16:04:41 +01:00
Christian Müller
91c676f015
Fix go build action 2020-03-19 16:03:04 +01:00
Christian Müller
dbb5cee305
Create go.yml 2020-03-19 15:59:39 +01:00
Josef Filzmaier
b933f11d15 Add missing error return value to Device Interface 2020-03-19 15:08:07 +01:00
Christian Müller
41fe7adda8
Merge pull request #10 from joseffilzmaier/setManaged
Implement SetPropertyManaged
2020-03-19 13:13:36 +01:00
Josef Filzmaier
ac6a5d93da Implement SetPropertyManaged
For the Device interface
2020-03-19 12:29:18 +01:00
Christian Müller
7809e29c58 Merge branch 'develop' 2020-03-06 11:56:59 +01:00
Christian Müller
af717566b8 Add Device.Reapply 2020-03-06 11:53:44 +01:00
Christian Müller
92ce8f7249
Merge pull request #8 from infrabel-iot/master
added parameter specific_object for AddAndActivateConnection
2020-03-06 11:50:52 +01:00
Christian Müller
98840bd76a Add Device.SetPropertyRefreshRateMs 2020-03-06 11:46:50 +01:00
Christian Müller
90c97fb098 Add property setter helper 2020-03-06 11:46:34 +01:00
Christian Müller
b5a3c5f6aa Fix CheckpointCreateand GetPropertyCheckpoints 2020-03-06 11:46:12 +01:00
Xavier Van Herpe
2403e094c9 added missing flag for Reload 2020-01-15 15:31:04 +01:00
Xavier Van Herpe
083258d920 added parameter specific_object for AddAndActivateConnection 2019-11-19 09:16:19 +01:00
Christian Müller
f9c3eafef3 Fix GetPropertyNameservers return type ([]byte instea of string) 2019-09-30 20:27:14 +02:00
Christian Müller
acc1f48502 Device Reapply and GetActiveConnection 2019-09-30 16:13:03 +02:00
Christian Müller
050d2c2b0e
Merge pull request #6 from bminer/master
Update imports to dbus/v5
2019-09-26 09:35:51 +02:00
Blake Miner
73c139ad58 Update imports to dbus/v5 2019-09-25 15:15:19 -04:00
Christian Müller
0f5ef75ca9 Update godoc path 2019-09-18 11:10:30 +02:00
Christian Müller
528fab6eed Add device example 2019-09-18 11:08:24 +02:00
Christian Müller
13e298849f Update LICENSE 2019-09-18 10:48:22 +02:00
Christian Müller
d87c8a8601 Add backward compatibility notice 2019-09-18 10:36:51 +02:00
Christian Müller
2b5c8106ad ActiveCOnnection : do not create an object if the path is '/', return nil instead 2019-09-18 10:34:39 +02:00
Christian Müller
7525115948 Merge upstream 2019-09-18 10:19:20 +02:00
Christian Müller
f731daa637 Merge remote-tracking branch 'upstream/master' 2019-09-18 10:19:02 +02:00
Christian Müller
2ee5cfeefc Merge branch 'master' into DeviceActiveConnection 2019-09-11 11:57:34 +02:00