-------------------------------------------------------------------------------
* 3ed4b94 set maximum client per port
-------------------------------------------------------------------------------
commit 3ed4b944f889149bf91717d811a28be9ba568e4c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-08-31 19:32:18 +0200
set maximum client per port
Base directory -> /
questd.c | 2 +-
questd.h | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* 8ff193b When sending a ubus button event, include info about short or long press (like is beeing done for /sbin/hotplug-call). refs #9873
-------------------------------------------------------------------------------
commit 8ff193b389aa5d960225166b92cc60b32721504f
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-29 15:23:12 +0200
When sending a ubus button event, include info about short or long press
(like is beeing done for /sbin/hotplug-call). refs #9873
Base directory -> /
src/button.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* 65fc133 removed clearing of clients due to ports sometimes returned without clients
-------------------------------------------------------------------------------
commit 65fc1334398c5d143d6731bba8ec51547fd0063e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-08-29 14:33:17 +0200
removed clearing of clients due to ports sometimes returned without clients
Base directory -> /
questd.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* 4a64f96 Workaround for ghost gpio press directly after start
-------------------------------------------------------------------------------
commit 4a64f969af4ee38507e83ed113e4e6a6fa9b9cf1
Author: Benjamin Larsson <benjamin@southpole.se>
Date: 2016-08-17 11:41:09 +0200
Workaround for ghost gpio press directly after start
On platforms with gpio buttons we have seen that sometimes buttons get
pressed directly after start and thus disabling the wifi. This change
implements a dummy read to flush out the bad states. Also implemented is a
check if a button is pressed directly 4 seconds after start. If that is the
case the press is logged to the syslog and then ignored.
Base directory -> /
src/button.c | 13 ++++++++++++-
src/gpio_button.c | 12 ++++++++++--
src/peripheral_manager.c | 2 ++
src/server.c | 6 ++++++
src/server.h | 3 +++
5 files changed, 33 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* 8e6556b Workaround for noisy sound with external Dect. Hardwire it to narrowband.
* e7e996a Major refactoring. Move handling of RSX debugger conneciton to a separate .c file and make the code a lot more descriptive. Now it's possible to understand how Natalie <-> RSX communication works.
* 6a8de42 - Code simplifications for better readabillity. Don't pass around void pointers everywhere, instead use the real backend type and move the type definitions from .c file to .h file. - Remove mysterious crash on ARM in calloc() by instead using malloc(). - Remove unused code.
* 969d1c8 - Move parts common with "eap" to a header file eap inclucde. This will reduce code duplication. - Remove unused code. - Remove compiler warning.
* 2ed68f8 Make the program configuration global. It should be possible to read it from anywhere.
* b46db2c Simplifications
* f7b7494 More fixes for building both against v12.26 and v11.19. More will come though.
* 2b1fe4f Fix to build against natalie 12.26
-------------------------------------------------------------------------------
commit 8e6556b48f65b60ddf63eb2dc0f09416b8670457
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-26 12:19:11 +0200
Workaround for noisy sound with external Dect. Hardwire it to narrowband.
Base directory -> /
src/connection_init.c | 2 +-
src/external_call.c | 9 +++++++--
2 files changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit e7e996a21c0f83f475701e06c7343d52470af71a
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:59:15 +0200
Major refactoring. Move handling of RSX debugger conneciton to a separate .c
file and make the code a lot more descriptive. Now it's possible to
understand how Natalie <-> RSX communication works.
Base directory -> /
src/Makefile | 2 +-
src/app.c | 246 ++++++++-------------------------------------------------
src/app.h | 3 +
src/debugger.c | 239 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/debugger.h | 15 ++++
5 files changed, 289 insertions(+), 216 deletions(-)
-------------------------------------------------------------------------------
commit 6a8de4289bc3322f271284240e8d954ddedfa5f3
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:53:47 +0200
- Code simplifications for better readabillity. Don't pass around void
pointers everywhere, instead use the real backend type and move the type
definitions from .c file to .h file. - Remove mysterious crash on ARM in
calloc() by instead using malloc(). - Remove unused code.
Base directory -> /
src/eap.c | 74 +++++++++++----------------------------------------------------
src/eap.h | 37 ++++++++++++++++----------------
2 files changed, 30 insertions(+), 81 deletions(-)
-------------------------------------------------------------------------------
commit 969d1c8ca0e290b4894cbf3ce9f73c7c51547ce7
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:43:21 +0200
- Move parts common with "eap" to a header file eap inclucde. This will
reduce code duplication. - Remove unused code. - Remove compiler warning.
Base directory -> /
src/busmail.c | 47 ++---------------------------------------------
src/busmail.h | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 45 deletions(-)
-------------------------------------------------------------------------------
commit 2ed68f8c087ab24328fba27e75a01c65cd32a8b5
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:35:29 +0200
Make the program configuration global. It should be possible to read it from
anywhere.
Base directory -> /
src/main.c | 17 +++++++----------
src/main.h | 12 ++++++++++++
2 files changed, 19 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit b46db2c2a3fb991f66ad9a6253e41176e7126ff2
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:32:12 +0200
Simplifications
Base directory -> /
src/natalie_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit f7b7494b44c3e9511ff9eb8957d3b372a1d68e46
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 15:47:52 +0200
More fixes for building both against v12.26 and v11.19. More will come
though.
Base directory -> /
src/connection_init.c | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 2b1fe4f81546b2581aefd156b90feaf47669dc89
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-07-26 16:11:45 +0200
Fix to build against natalie 12.26
Base directory -> /
src/api_parser.c | 4 ----
src/connection_init.c | 9 ++++++++-
2 files changed, 8 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
Don't remove all installed packages at the start of
feeds_update. Remove duplicate feed installs as named feeds are
included with the install -a command later.
If the path is still outside /mnt/ after all the previous checks and
enforces have been applied, overwrite the path to "/mnt/".
This is usefull in the following scenario:
- "/mnt/tmp" is a soft link to "/tmp"
- $path is pushed from the web gui as "/"
- $dirpath is pushed from the web gui as "tmp"
The init script prepends "/mnt/", the $path becomes "/mnt/tmp".
Further, the smb.conf would receive "path = /mnt/tmp" and
samba would export for share "/tmp".
A while-loop (that always prepends "/mnt/" to $(readlink -f $path)
if it does not start with "/mnt")
would not prevent this case exactly because
the soft link and the target directory have the same name,
thus the loop would never end.
When checknig that path starts with /mnt/, path should not include
softlinks, "." or "..". This prevents the obvoius case of sharing the
"/mnt/../" path, which will jump out of the restricted /mnt/.