Ermal Luçi
04f4a1160a
Make the GUI fast and capable of working in environments with RAM less than 128.
...
Actually this make the GUI on this system respond faster than in an ALIX with 256MB RAM.
Tested on: Soekris, Wrap, VMware environments
2008-07-22 15:41:04 +00:00
Ermal Luçi
2b937162d1
Revert to previous version it was incorrectly patched.
2008-07-22 15:29:55 +00:00
Scott Ullrich
7388172140
Say hello to outputJavaScriptFileInline() and outputCSSFileInline which
...
can take a css and or javascript file and pass it through the php
parser without forking and return the results inline. This is still
faster then a round trip back to Lighttpd. Soon I will be changing portions
of the webConfigurator to use these functions.
2008-07-22 05:55:12 +00:00
Matthew Grooms
925f3fe9b6
General whitespace and style cleanup of the auth.inc file. I was having a
...
hard time following some of the code logic due to poor formatting. There
should be no functional change.
2008-07-21 03:07:13 +00:00
Ermal Luçi
fdcaa5272e
Fix NO-IP dyndns client the url has changed according to the source code of the client distributed by no-ip.com and from my test. Use urlencode() for usernames when passed directly on url.
2008-07-20 20:45:17 +00:00
Ermal Luçi
181d7c95c7
Split dyndns client configuration to its own function so we do not retry to update all
...
other configured clients when add a new one from the GUI.
2008-07-20 20:35:47 +00:00
Ermal Luçi
d5d0d9fe7b
Make dyndns reset more specific since its only consumer is the edit GUI page.
2008-07-20 20:09:54 +00:00
Ermal Luçi
83fc5fdfe9
Now that the cache file is back to config path use it.
2008-07-20 19:49:31 +00:00
Ermal Luçi
1f51641d6d
Use interface name rather than ip address as a better option.
2008-07-20 19:17:21 +00:00
Ermal Luçi
9bfdc8eecd
Correct function call.
2008-07-20 19:12:12 +00:00
Ermal Luçi
b88e05cb70
* Make some sanity checks before using CURLOPT_SETINTERFACE
...
* close the curl instance after using it. With CURLOPT_SETINTERFACE a new instance is needed to correcly use it.
2008-07-20 19:06:03 +00:00
Ermal Luçi
13db70b41b
* Revert cache file path to the config file one, it was braught to my attention that if we try to update very often might get blacklisted.
...
* Use CURLOPT_SETINTERFACE so we correctly check the ip address for each configured interface.
2008-07-20 19:01:40 +00:00
Ermal Luçi
fd44e28278
Remove code used by ez-ipupdate, it is now obsolete.
2008-07-20 18:47:09 +00:00
Ermal Luçi
b6a5183db5
Remove not used anymore file.
2008-07-20 14:53:10 +00:00
Ermal Luçi
33178d8603
Remove unnecessary copying of dyndns cache file for ez-ipudate program. It is only a cache file after all and i do not think ez-ipupdate is used anymore.
2008-07-20 14:52:10 +00:00
Ermal Luçi
0bd73c2cac
Now that the cache file is moved to /var/etc no need to mount rw since that part is writable even on embedded by default.
2008-07-20 14:45:46 +00:00
Ermal Luçi
0a1b018347
Implement DNSexit support for DynDns Services.\n Feature Request #1588 .
2008-07-20 14:37:52 +00:00
Ermal Luçi
9bca257552
Make dyndns work correctly there was a problem in parameters order passed to the class.
2008-07-19 21:47:45 +00:00
Ermal Luçi
00b0fad663
PHP is a hell of a language it just has oddities just to make you feel stupid!
2008-07-19 15:09:25 +00:00
Matthew Grooms
b4f8fa28b2
Silence the "Beginning upgrade to version 4.7" message.
2008-07-19 06:47:14 +00:00
Scott Ullrich
dc3b882357
Remove trailing blank line
2008-07-19 02:21:30 +00:00
Scott Ullrich
f7522c2b8a
Correctly check if sysctl item is array
2008-07-19 02:21:10 +00:00
Chris Buechler
e79c47698a
change this to a legit value (3, and any other non-zero number does the same thing as 1 which is what the correct value is)
2008-07-19 01:38:58 +00:00
Ermal Luçi
084a1fb364
Fix regression on interface list.(missed merge from RELENG_1_MULTI_ANYTHING)
2008-07-18 18:02:03 +00:00
Ermal Luçi
8cb1c6e3a2
Do not create pipe/queue if it is disabled by the user.
2008-07-18 16:46:43 +00:00
Ermal Luçi
7807634c5b
Remove last piece of accidentally slipped in code.
2008-07-17 21:02:21 +00:00
Ermal Luçi
f3768226c5
Remove accidentally slipped in code.
2008-07-17 20:57:37 +00:00
Ermal Luçi
ec656e20a5
Fix php oddities. How can empty/count return true for an empty/0 elements arrayscp shaper.inc root@192.168.10.65:/etc/incscp shaper.inc root@192.168.10.65:/etc/inc.
2008-07-17 16:37:17 +00:00
Ermal Luçi
1c3fd96b17
Hide advaned options under a 'Show advanced options' button.
2008-07-17 16:24:14 +00:00
Ermal Luçi
19190e1ab3
Improve it even for queues.
2008-07-16 22:57:22 +00:00
Ermal Luçi
2e1abb3150
Improve my crunkines with html.
2008-07-16 22:52:52 +00:00
Ermal Luçi
a83afb1f3f
Improve my crunkines with html.
2008-07-16 22:49:02 +00:00
Ermal Luçi
ff0189e7d9
Better version with suggestions from Scott.
2008-07-16 22:40:56 +00:00
Ermal Luçi
77dc689425
Hide some options under an show button.
2008-07-16 22:31:26 +00:00
Ermal Luçi
ae62bbcfae
We have our own roll of dummynet now.
2008-07-16 21:03:22 +00:00
Ermal Luçi
64c7753b81
Create rules for dummynet propperly and add support on filter rule generation for differentiating between pipes and queues.
2008-07-16 20:41:27 +00:00
Ermal Luçi
309ffde904
Correct some function definitions.
2008-07-16 19:53:24 +00:00
Ermal Luçi
afaf2b2eda
Foreach only if it is an array to be on the safe side.
2008-07-16 19:38:22 +00:00
Ermal Luçi
d62ba478cd
Fix some bugs and provide small style(9) to shaper.inc
2008-07-16 19:34:17 +00:00
Seth Mos
b4d480ffa6
Log Error to system logs when we don't have any gateway available
2008-07-16 15:08:28 +00:00
Seth Mos
5846d858a8
If somehow all members are marked, proceed with the configured XML settings
2008-07-16 15:06:12 +00:00
Ermal Luçi
63161b3f60
Correctly show interface addresses on Status->Interfaces page
2008-07-15 14:58:28 +00:00
Ermal Luçi
c25a6b6aed
Introduce back end code for dummynet(4).
2008-07-14 21:50:10 +00:00
Ermal Luçi
42e64acaaa
Add mising global definition.
2008-07-14 21:34:53 +00:00
Ermal Luçi
7f6afb290f
Unbreak traffic shaper rules creation.
2008-07-14 21:33:35 +00:00
Ermal Luçi
6d7de776de
Add myself to the Copyright.
2008-07-14 21:16:53 +00:00
Ermal Luçi
67ee1ec5ec
* Merge multiple PPPoE/PPTP interfaces from RELENG_1_MULTI_ANYTHING
...
* Much improved rule generation speed
* Many bug fixing in general of the interface handling
NOTE: this is only half part of the changes the other half will come after
2008-07-14 20:43:59 +00:00
Seth Mos
cbdf9821cc
Bump execution timeout to 15 minutes on upgrades
2008-07-14 16:47:17 +00:00
Scott Ullrich
9803ecec5c
* Start inetd regardless if nat entries exist due to tftp proxy needing it.
2008-07-14 05:11:02 +00:00
Scott Ullrich
3acf72fae9
* Add tftp proxy
...
* Add inetd file (will need to update reflection code as well)
2008-07-14 05:03:35 +00:00