Commit Graph

6776 Commits

Author SHA1 Message Date
Enno Rehling 5317c029d5 fix key upgrade.
should have had a test to begin with.
github issue #481
2016-02-13 21:38:42 +01:00
Enno Rehling 9c10cc6b16 fix linux build 2016-02-13 13:56:49 +01:00
Enno Rehling 9c7dd13ac9 Merge branch 'develop' of https://github.com/ennorehling/eressea into develop 2016-02-13 13:27:40 +01:00
Enno Rehling ec216643c3 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2016-02-13 07:28:36 +01:00
Enno Rehling b4323c4a3c unused variable 2016-02-13 07:27:21 +01:00
Enno Rehling 40530f2066 rename to password_encode, streamline tests 2016-02-12 08:33:08 +01:00
Enno Rehling c0c6d19be2 bcrypt hashes implementation, not activated yet. 2016-02-12 07:16:45 +01:00
Enno Rehling 01e864273a crash with an assert if Lua code has syntax errors.
this addresses issue #474
also, correct capitalization of Lua.
2016-02-09 21:34:24 +01:00
Enno Rehling 91ca77bc48 passwd is no longer written 2016-02-09 18:34:36 +01:00
Enno Rehling 3ee023cdd6 it was all a lua syntax error. good grief. that should go to stderr! 2016-02-09 18:30:42 +01:00
Enno Rehling 50f22d7c2f debug output 2016-02-09 18:20:01 +01:00
Enno Rehling ca6448ec23 re-enable failing valgrind check with more flags 2016-02-09 17:18:09 +01:00
Enno Rehling 652136ee46 unused variable, kill 2016-02-09 16:32:01 +01:00
Enno Rehling 5f2dc192db disable test because valgrind is complaining 2016-02-09 16:11:32 +01:00
Enno Rehling 87aa7c887e fix build 2016-02-09 14:08:36 +01:00
Enno Rehling 997d81e34a memcpy is in string.h 2016-02-09 13:56:57 +01:00
Enno Rehling b6e2fc28df remove unused functions 2016-02-09 13:56:15 +01:00
Enno Rehling 188aa84011 create htpasswd files after the turn. do not overwrite old password file (E2!) 2016-02-09 08:42:24 +01:00
Enno Rehling 1201a6b739 unused variable, bad version check 2016-02-09 07:06:07 +01:00
Enno Rehling 5e631fd145 replace at_key with at_keys, some bugs found by tests. 2016-02-09 07:03:11 +01:00
Enno Rehling dbcae5484e update test to check more than one key and cleanup. 2016-02-09 06:45:46 +01:00
Enno Rehling 0189111876 update key attribute api
prepare to replace at_key. do not return the internals. add basic test.
2016-02-09 06:43:19 +01:00
Enno Rehling abc3caa6d1 optimized storage of attribs.
save the hash instead of the name and save a few bytes.
2016-02-09 00:28:23 +01:00
Enno Rehling f630278339 Merge remote-tracking branch 'upstream/develop' into develop 2016-02-06 23:27:13 +01:00
Enno Rehling 7cd81df23e wrong crypto module, again 2016-02-06 23:25:32 +01:00
Enno Rehling 32d43820c2 Merge remote-tracking branch 'upstream/develop' into develop 2016-02-06 23:23:26 +01:00
Enno Rehling 80eb22b1e4 Merge branch 'master' into develop
Conflicts:
	src/buildno.h
2016-02-06 23:19:49 +01:00
Enno Rehling 8279c3b348 release version 3.8.2 2016-02-06 15:28:54 +01:00
Enno Rehling b89e424253 submodules. more like suckmodules, amirite? 2016-02-06 15:28:15 +01:00
Enno Rehling 9d1020b73b Merge branch 'ennorehling-feature/apache-md5' 2016-02-06 15:24:04 +01:00
Enno Rehling 26a33e28ce Merge branch 'feature/apache-md5' of https://github.com/ennorehling/eressea into ennorehling-feature/apache-md5
Conflicts:
	src/util/password.c
	src/util/password.h
	src/util/password.test.c
2016-02-06 15:23:42 +01:00
Enno Rehling 4f0e8d29bf latest module 2016-02-06 15:17:16 +01:00
Enno Rehling bee97c002c use apache implementation by default 2016-02-06 15:16:15 +01:00
Enno Rehling c21cde25f5 fix build (bad type)
Conflicts:
	crypto
2016-02-06 15:15:58 +01:00
Enno Rehling d2d50cb23f fix build, add test for new algorithm
Conflicts:
	src/util/password.test.c
2016-02-06 15:15:04 +01:00
Enno Rehling 4c46d9d0ef add the apache md5 implementation to valid password hash algorithms
Conflicts:
	src/util/password.c
	src/util/password.h
2016-02-06 15:14:23 +01:00
Enno Rehling 7b4b879cc1 quick addition to a_removeall
additional testing for attributes
2016-02-06 10:56:08 +01:00
Enno Rehling 49b5a27bc8 Merge pull request #471 from ennorehling/develop
fopen is misunderstood (by me)
2016-02-05 23:19:39 +01:00
Enno Rehling 8a3bb35987 eliminate global log_flags, revert the mode arguments for fopen.
turns out that text is default, and windows hates it if I open a binary file without 'b'
standardize on using join_path to create filenames
(use backslash on windows, even though fopen doesn't seem to care).
2016-02-05 23:10:05 +01:00
Enno Rehling e39af68dde remove unused file 2016-02-01 21:37:02 +01:00
Enno Rehling 5e148a9599 Merge remote-tracking branch 'upstream/develop' into develop 2016-02-01 18:35:09 +01:00
Enno Rehling 1b0561c07e start development on release 3.9 2016-02-01 18:24:27 +01:00
Enno Rehling 31f989d6c6 Merge branch 'develop' of github.com:eressea/server into develop 2016-02-01 18:20:23 +01:00
Enno Rehling 6c90ff97cb release version 3.8.1 2016-02-01 18:16:25 +01:00
Enno Rehling d0f8723ffb refactoring: eliminate a_findc, and too much const-fuckery 2016-02-01 17:31:03 +01:00
Enno Rehling 4804b2c30a Merge pull request #470 from ennorehling/feature/issue-468-jsonconf-errorrs
fix reading building maintenance
2016-02-01 14:15:01 +01:00
Enno Rehling ea8246f762 Merge pull request #469 from ennorehling/develop
file operations cleanup
2016-02-01 14:09:07 +01:00
Enno Rehling 23e57c6bff fix missing translation error messages during tests. 2016-02-01 14:06:56 +01:00
Enno Rehling b3db14465e fix logic error in json_buildings 2016-02-01 13:59:35 +01:00
Enno Rehling 85010e5358 seems like there is a problem opening files with the optional 'b' mode, so remove it everywhere? 2016-02-01 12:29:41 +01:00