Commit report for master branch

The git bot announce at freeradius.org
Wed Sep 24 00:00:02 CEST 2014


New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)

======
Mark da as UNUSED to quiet scan

Alan T. DeKok at 2014-09-23T18:14:12Z
Files modified:
	* src/main/tmpl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/57ac3b8cc2540cf70369e0b2ef8d40076119e3d7
====== 
Remove unused variable

Alan T. DeKok at 2014-09-23T16:55:18Z
Files modified:
	* src/main/conffile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b088b955a3811ae984dc5caa56c05dbb6f2c6066
====== 
Pre-parse insert / trim / expire, and mark them PW_TYPE_XLAT

Alan T. DeKok at 2014-09-23T16:50:39Z
Files modified:
	* src/modules/rlm_rediswho/rlm_rediswho.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/55749958df150b998b62dd83a72a243e071a2591
====== 
Reduce scope of "start" variable.

Which might un-confuse the compiler, which thinks it's unused

Alan T. DeKok at 2014-09-23T16:44:33Z
Files modified:
	* src/main/conffile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f518c4a1e336575bd5c7b7ba86017f1d4b1750e4
====== 
Add parsing for "query" via PW_TYPE_MULTI

The default configuration is parsed.  If people change the
"reference" line, they'll miss all of the pre-parsing stuff.
But... this works for now, until we have something which handles
randomly named subsections and config items.

Alan T. DeKok at 2014-09-23T16:08:24Z
Files modified:
	* src/modules/rlm_sql/rlm_sql.c
	* src/modules/rlm_sql/rlm_sql.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f7094cccda2f5a9b43d99c8c962cfa0655ec9af0
====== 
Add PW_TYPE_MULTI

For CONF_PAIRs which can exist multiple times in a CONF_SECTION

Alan T. DeKok at 2014-09-23T16:08:23Z
Files modified:
	* src/include/conffile.h
	* src/main/conffile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c77f37ca80225a2248a952fa035274325320518f
====== 
Use fr_canonicalize_error()

Alan T. DeKok at 2014-09-23T16:08:22Z
Files modified:
	* src/main/conffile.c
	* src/main/modcall.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c4627ac22430ec32e027b35cac44c0b99293c8cd
====== 
Add fr_canonicalize_error()

So the error messages are all of the same format, and the
code isn't duplicated all over the place

Alan T. DeKok at 2014-09-23T16:08:21Z
Files modified:
	* src/include/parser.h
	* src/main/parser.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8952508ff0b60fa7644e16658d698ce9d8721316
====== 
Use %%s instead of %s

Alan T. DeKok at 2014-09-23T16:08:18Z
Files modified:
	* raddb/mods-config/sql/main/sqlite/queries.conf

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/664e97d6c33b4912b52495faf41bd8cab0a961d1
====== 
Don't use "goto error" and variable named "error"

Alan T. DeKok at 2014-09-23T05:32:16Z
Files modified:
	* src/main/conffile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ed5d528699805bf36971d4e060223e323c4dc913
====== 
Track auto-created subsections

The subsection will exist, but the "reference = foo" CONF_PAIR
won't exist.  So key off of that to determine if we run the section.

We need this because the default config has no "reference"
for "post-auth" in queries.conf.  So setting it to NULL is a bad
idea.

Alan T. DeKok at 2014-09-23T04:54:46Z
Files modified:
	* src/modules/rlm_sql/rlm_sql.c
	* src/modules/rlm_sql/rlm_sql.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e14179e9b342370e424bfb8f92e849a1de2af21b
====== 
Parse accounting && post-auth sections statically

instead of in code.  This allows the pass2 compilation to check
that the "reference" config item passes xlat parsing.

It will also allow us to do a later xlat compilation checks
on the queries, too

Alan T. DeKok at 2014-09-23T04:42:39Z
Files modified:
	* src/modules/rlm_sql/rlm_sql.c
	* src/modules/rlm_sql/rlm_sql.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f1a4d3666d6eed59a39d00214b280f6497a543dd
====== 
Add PW_TYPE_XLAT to sql queries, too

Alan T. DeKok at 2014-09-23T04:42:38Z
Files modified:
	* src/modules/rlm_sql/rlm_sql.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5b94a15a10c0442ff4deea4b7dab4c1214c7ffd4
====== 
Add PW_TYPE_XLAT to most modules

We still need to convert the SQL queries, as they are buried
inside of randomly named sections

Alan T. DeKok at 2014-09-23T03:50:01Z
Files modified:
	* src/modules/rlm_attr_filter/rlm_attr_filter.c
	* src/modules/rlm_cache/rlm_cache.c
	* src/modules/rlm_couchbase/rlm_couchbase.c
	* src/modules/rlm_detail/rlm_detail.c
	* src/modules/rlm_files/rlm_files.c
	* src/modules/rlm_ippool/rlm_ippool.c
	* src/modules/rlm_ldap/rlm_ldap.c
	* src/modules/rlm_linelog/rlm_linelog.c
	* src/modules/rlm_mschap/rlm_mschap.c
	* src/modules/rlm_rediswho/rlm_rediswho.c
	* src/modules/rlm_rest/rlm_rest.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1d3f034a436fded22c01652c86622a7872ce877c
====== 
Call cf_section_parse_pass2() after loading all of the modules

Alan T. DeKok at 2014-09-23T03:50:00Z
Files modified:
	* src/main/modules.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2866e32af19b769c67934d4a2a08f6a27df5c1f4
====== 
Added cf_section_parse_pass2() for pass2 checks of config items

and PW_TYPE_XLAT, too.

Modules can now tell the server core that config items will
be dynamically expanded.  For now, this means that the server
can parse them in pass2, and complain at compile time about
syntax errors.

We will later expand this to allowing CONF_PAIRs to have compiled
xlat's, which should be faster at run time

Alan T. DeKok at 2014-09-23T03:49:59Z
Files modified:
	* src/include/conffile.h
	* src/main/conffile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/cad0063d4406456ae4ee5ad8a7ed2ae7bfd26df6
====== 
-- 
This commit summary was generated @2014-09-24T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list