Commit graph

38 commits

Author SHA1 Message Date
Christian Müller
b4b8ef48ed Merge branch 'pr/28' 2022-10-26 09:37:13 +02:00
Christian Müller
ec47b1991d Add godoc standard comment prefix 2022-10-26 09:19:03 +02:00
Andreas Freimuth
c9388ff6e6 fix(CheckpointCreate): fix devicePaths variable scope 2022-02-07 13:45:05 +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
Raqbit
97d8aa8b42
Implement SetPropertyWirelessEnabled 2020-11-13 17:25:10 +01:00
Christian Müller
e6d07eb88c Add CheckpointRollback
And NmRollbackResult
2020-08-20 13:52:09 +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
Christian Müller
7809e29c58 Merge branch 'develop' 2020-03-06 11:56:59 +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
Blake Miner
73c139ad58 Update imports to dbus/v5 2019-09-25 15:15:19 -04: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
6730bdafad Update NetworkManager.go
Fix the interface removing unimplemnted methods
2019-08-29 17:21:09 +02: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
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
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
ff4ee87140 Complete NetworkManager Methods and properties, add Checkpoint (empty) 2019-06-12 14:34:18 +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
b9e95e8780 Refactor callAndPanic to callWithReturnAndPanic 2019-05-28 11:06:28 +02:00
Christian Müller
3eddf987a8 Add 1.16 Methods and Properties path definitions 2019-05-16 17:10:52 +02:00
Christian Müller
a5d97dddcc Rename call methods for better understandable logic. Add additional call with no return value. 2019-05-15 17:38:20 +02:00
Christian Müller
ab586e0f32 Add NetworkManager.GetAllDevices 2019-05-15 15:53:18 +02:00
Peter Hommel
9224fc9401 I have added AddAndActivateConnection to NetworkManager (#8)
Add `AddAndActivateConnection` method to NetworkManager.

This adds a network profile, and activates the connection in one operation.
2019-05-13 09:51:12 -04:00
Peter Hommel
54e6cf98e2 AddAndActivateWirelessConnection: removed unnecessary recover 2019-05-13 14:12:35 +02:00
Peter Hommel
f42ba34c0a AddAndActivateWirelessConnection: documentation, error handling and return value 2019-05-09 10:42:29 +02:00
Peter Hommel
5852676635 added AddAndActivateConnection method to NetworkManager 2019-05-03 13:47:35 +02:00
hiro15
e95fae9eed Request scan and activate access point (#6)
Add some methods for wireless devices.
2018-12-04 09:31:30 -05:00
hiro15
c185f6c3d0 Active connection (#5)
Implement ActiveConnection interface.
2018-11-27 12:40:05 -05:00
Tom Wambold
e9eb8e5842 Flesh out Device and AccessPoint objects, JSON marshalling, basic signals. 2016-05-25 16:47:07 -04:00
Tom Wambold
75591bce97 Initial commit with not a whole lot of coverage. 2016-05-24 20:58:18 -04:00