Commit Graph

56 Commits

Author SHA1 Message Date
Matthew Grooms
6b07c15ad8 Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls
2) Accurate generation of privilege definitions from source
3) Merging the user and group privileges into a single set
4) Allow any privilege to be added to users or groups w/ inheritance
5) Cleaning up the related WebUI pages
2008-08-01 06:30:34 +00:00
Bill Marquette
651c32e24c move relayd to after all gateways are configured - it'll be happier, trust me 2008-07-08 21:28:29 +00:00
Seth Mos
41e6d4bda1 Setup gateways monitor after a rpc sync 2008-07-08 21:25:28 +00:00
Bill Marquette
32259bc195 s/slbd/relayd/ move to after filter is configured 2008-07-08 21:22:52 +00:00
Scott Ullrich
0e79d356d1 Eliminate interfaces_carp_bring_up_final() 2008-07-07 00:59:30 +00:00
Scott Ullrich
dd98e33080 PHP5 fixes. Allow XMLRPC sync to work. 2008-05-27 00:59:31 +00:00
Scott Ullrich
c3638879b2 * Add xmlrpc declarations missed in last commit
* MFC exec_shell() package related function
* MFC exec_php() package related function
2008-02-14 04:57:26 +00:00
Scott Ullrich
82ae5cfc97 * Add merge_installedpackages_section_xmlrpc() call used for merging
specific <installedpackages><AREANAME> sub items without replacing
  the entire <installedpackages> area with just this item
* Adjust TinyDNS sync to use this new method to avoid replacing the
  entire destination <installedpackages> area which also whipes
  out all other installd package information.
2008-02-14 04:27:51 +00:00
Scott Ullrich
36d0358b56 Add product_copyright re-branding support
Add product_copyright_years re-branding support
Add product_website re-branding support
Add product_email re-branding support

Work sponsored-by: Centipede Networks
2007-12-16 20:43:26 +00:00
Bill Marquette
63c59458a0 sync from RELENG_1_2 2007-10-14 22:32:08 +00:00
Bill Marquette
b4d19b4667 Fix check_firmware_version description
All XMLRPC functions should be authenticated
MFC: ASAP
2007-10-14 16:21:00 +00:00
Scott Ullrich
ff66495424 Prevent a configuration sync loop from occuring when a cluster has two nodes. 2007-05-01 17:47:52 +00:00
Scott Ullrich
ee87d92965 Use array_merge_recursive_unique() 2007-02-13 23:10:14 +00:00
Scott Ullrich
383a3d3aec Use array_merge_recursive 2007-01-25 00:18:05 +00:00
Scott Ullrich
841c1f84be Use array_combine() 2007-01-24 23:46:53 +00:00
Scott Ullrich
dc1cd85d6f Add pfsense.merge_config_section which can merge two keys together via XMLRPC sync instead of killing the prior section. This is useful when merging subkeys of installedpackets for example. 2007-01-24 23:39:56 +00:00
Scott Ullrich
d93bf3a587 Restart pool after XMLRPC sync.
Ticket #924
2006-04-21 17:36:04 +00:00
Scott Ullrich
e700437bdf Setup routes after loading filter on CARP sync hosts. 2006-04-19 20:25:46 +00:00
Scott Ullrich
670fe8496e Add ajaxStarted which will tell if Ajax has started. 2006-01-16 22:33:24 +00:00
Scott Ullrich
8fd749cc33 Correct errors found by eclipse 2006-01-15 03:35:19 +00:00
Scott Ullrich
e54d4de6d5 Remove #!/usr/local/bin/php 2006-01-02 23:46:18 +00:00
Scott Ullrich
03d898313b Sync w/ head 2005-11-30 03:43:55 +00:00
Scott Ullrich
171966c9eb MFC 8018
backup_config_section doesn't take a hash.
2005-11-25 21:18:21 +00:00
Scott Ullrich
985e98eed5 Bring up interfaces after sycning 2005-09-30 21:19:04 +00:00
Scott Ullrich
19aeae7fb6 Adjust carp bootup sequence. Do not down the interfaces and later up them. 2005-09-24 20:47:31 +00:00
Colin Smith
8da3de3403 Clean up and bring to spec.
* Make signatures prettier.
	* Define $XML_RPC_erruser = 200
	* Make $xmlrpc_g array with handy objects.
2005-09-18 23:15:24 +00:00
Colin Smith
be88414ade Clean up TODO. 2005-09-18 04:54:05 +00:00
Colin Smith
728d393d94 Require valid authorization to reload CARP interfaces. 2005-09-18 04:51:21 +00:00
Scott Ullrich
73c6bb9982 Correct doc comment for cap configure 2005-09-18 04:29:16 +00:00
Scott Ullrich
52c3baf5da Expose interfaces_carp_configure_xmlrpc() 2005-09-18 03:44:09 +00:00
Colin Smith
1cdca133db Update our XMLRPC server to work with the new security update. This cleans up several hacks resulting from poor documentation ;) 2005-07-24 23:17:18 +00:00
Colin Smith
d906426767 Add pfsense.get_notices. 2005-07-15 22:03:17 +00:00
Colin Smith
a35398508a Remove weird mwexec(). 2005-07-10 18:37:39 +00:00
Scott Ullrich
ea9deedc5f Remove /tmp/config.cache to force a resync of configuraiton 2005-07-05 16:59:04 +00:00
Colin Smith
c6ab761de0 No more xmlparse_pkg. 2005-06-20 02:50:30 +00:00
Colin Smith
53cf553319 Fix reboot method. 2005-06-07 03:26:32 +00:00
Colin Smith
bd0fe65b1b Add RPC wrapper to rc.reboot. This method requires password authentication. 2005-06-07 03:22:43 +00:00
Bill Marquette
f977ac60e2 Include guiconfig.inc so we can use auth.inc 2005-05-16 03:31:55 +00:00
Colin Smith
81d8a9adf6 Minor cleanup. 2005-04-20 17:02:44 +00:00
Colin Smith
6fe6b9163a Include XMLRPC helper functions and remove unnecessary code. 2005-04-20 14:10:51 +00:00
Colin Smith
186359bf13 Remove pfsense.auto_upgrade until fixed. 2005-04-07 17:07:00 +00:00
Colin Smith
44488c3c04 Expose pfsense.auto_update and pfsense.check_firmware_version. 2005-04-02 07:01:28 +00:00
Colin Smith
af2ecddf90 * Add signature handling for arrays.
* Fix pfsense.filter_configure.
* Fix multicallish pfsense.restore_config_section.
2005-04-02 06:27:05 +00:00
Colin Smith
99bc7cc204 Whoops, forgot to increment the array counter. 2005-04-01 23:08:36 +00:00
Colin Smith
a52c8ce23c Allow multicallish functionality in pfsense.restore_config_section. 2005-04-01 23:07:51 +00:00
Colin Smith
009eee4b82 Include XML parser functions. 2005-03-31 23:59:02 +00:00
Colin Smith
629185969c Fix array offset (first param starts at 0 after auth). 2005-03-31 23:29:41 +00:00
Colin Smith
97bde33847 Add (basic) authentication handler and clean up a bit. 2005-03-28 15:23:00 +00:00
Bill Marquette
b46bfcf575 Add $Id$ tag 2005-03-27 22:31:32 +00:00
Colin Smith
780dbd5682 Add TODO. 2005-03-26 07:13:10 +00:00