Paul Arthur
3c347c0a7f
Fix custom session handle to comply with PHP spec
...
read must always return a string.
2011-10-14 17:08:41 -04:00
Paul Arthur
3b296619c0
Null is an acceptable session auth type if use_auth=false. FS#182.
2011-09-12 10:25:27 -04:00
Paul Arthur
916d2e7f59
On login, set password to the correct value if we have a mangled one stored
2011-04-26 16:59:06 -04:00
Paul Arthur
4aa256cb07
Clean up some PHPDoc crap
...
Remove misleading, unvetted, or in some cases just plain wrong data.
Packages and categories weren't being used correctly. They still
aren't.
2011-04-04 17:37:10 -04:00
momo-i
f99643663c
header comment modified for phpdoc
2011-02-03 09:43:46 +09:00
momo-i
d703009677
header comment for phpdoc
2011-02-03 07:30:23 +09:00
momo-i
add54bc230
test header for phpdoc. now using only classes and libraries.
2011-02-02 16:48:45 +09:00
Paul Arthur
2682a69a36
Check the correct variable for LDAP.
2010-12-08 03:06:33 -05:00
Paul Arthur
e10cd41cf9
Clean up LDAP auth and associated config
...
Log a more useful error if a config entry is missing but LDAP auth is
enabled. Mark required ldap config values clearly and clean up
descriptions.
2010-12-08 00:43:43 -05:00
Elias Probst
77311f6f0e
Implement ldap_require_group
...
Squashed commit of the following:
commit 4cba31ed7a607cf955b39131ca598d4f8b7553b6
Author: Elias Probst <mail@eliasprobst.eu>
Date: Tue Dec 7 23:08:47 2010 +0100
Improved LDAP group matching regex to make sure, the whole string is matched.
commit 1a056e6fdac3c3c3f141283dad25a407a4c897a1
Author: Elias Probst <mail@eliasprobst.eu>
Date: Tue Dec 7 23:08:02 2010 +0100
Implementation for the still missing 'ldap_require_group' feature. Including changes suggested in http://ampache.org/bugs/task/150#comment103
2010-12-07 20:22:16 -05:00
Paul 'flowerysong' Arthur
6277492321
JavaScript cleanup. Consistently use camelCase for naming JS functions. Use
...
Prototype functionality where possible (particularly for Ajax). Move our JS
into lib/javascript (I dropped kajax as an external module since the new
ajax.js is completely different apart from function headers.) Remove unused
JS functions from base.js.
2010-06-24 02:52:01 +00:00
Paul 'flowerysong' Arthur
733f507937
Browsing by tag is broken. This doesn't fix it.
2010-06-15 21:18:17 +00:00
Paul 'flowerysong' Arthur
4b5756ba9d
Miscellaneous cleanup.
2010-06-13 08:11:09 +00:00
Paul 'flowerysong' Arthur
67be60ae09
Cleanup and rationalisation of authentication related code. Among other things,
...
fixes FS#99.
2010-05-29 08:33:48 +00:00
Paul 'flowerysong' Arthur
1cb0983ed0
Cosmetics: remove trailing whitespace
2010-03-14 20:14:52 +00:00
Paul 'flowerysong' Arthur
d78c207f76
Cosmetics: use tabs for indentation, tweak some indentation/coding style.
2010-03-14 06:10:27 +00:00
Paul 'flowerysong' Arthur
5744c3ea4b
Remove null auth method.
2010-03-14 03:43:06 +00:00
Paul 'flowerysong' Arthur
9a872491dd
Unbreak http auth, make it more sane. Old broken method renamed to null, in
...
case crazy people still want it. Add support for redirecting to a SSO
provider after logout.
2010-03-14 03:40:47 +00:00
Paul 'flowerysong' Arthur
1b57e267e0
Cosmetics: add vim modeline, consistently use tabs for indentation, typos, wrap
...
comment blocks at 80 columns.
2010-03-13 21:39:18 +00:00
Karl 'vollmerk' Vollmer
3d97d79e84
Improve debugging a bit to prove a point
2010-03-09 04:24:10 +00:00
Karl 'vollmerk' Vollmer
5b40b46ba0
Added local auth method which allows use of pam_auth PHP module (Thx Vlet)
2009-12-15 17:33:43 +00:00
dipsol
a7838e2a13
Replaced almost every dba::query to dba::read or dba::write.
2009-12-14 08:06:20 +00:00
Paul 'flowerysong' Arthur
317b9dd9c4
Remove auth_http-specific autocreation of nonexistent users now that this is handled generically
...
by login.php
2009-10-08 18:37:17 +00:00
Karl 'vollmerk' Vollmer
fdb7c58cb1
fix typo causing height to not display on art retrival, update to db allowing gc of tmp_browse, add extension to api album art image urls
2009-03-15 16:16:04 +00:00
Karl 'vollmerk' Vollmer
ed15ee4a9c
Add ability to have anonymouse access of a defined level with manual login of users
2009-03-08 12:29:38 +00:00
Karl 'vollmerk' Vollmer
e474991d13
Resolve #401 new database update, reset album thumbs and use resized art...
2009-03-01 02:35:42 +00:00
Karl 'vollmerk' Vollmer
453eedceae
sync from branches/3.4
2009-02-22 23:36:01 +00:00
Karl 'vollmerk' Vollmer
b9a2603025
Finish IPv6 support
2009-02-01 01:06:46 +00:00
Karl 'vollmerk' Vollmer
0a08d312b7
move to sha256 for passwords API and Interface
2008-10-30 17:17:27 +00:00
Karl 'vollmerk' Vollmer
e8559dd683
fix http auth issues, fix missing line sfrom dipsols patch, few other minor things
2008-10-29 06:47:00 +00:00
Karl 'vollmerk' Vollmer
591b54daac
fix the prevent_multiple_logins (Thx hugh)
2008-08-24 06:29:10 +00:00
Karl 'vollmerk' Vollmer
392354df0a
switched to sha() password encryption not using sha2 because of limitations of amarok, also added some caching and fixed some misc bugs
2008-07-26 07:43:18 +00:00
Karl 'vollmerk' Vollmer
5fce261ae2
more improvements to the caching system, removed ugly hack from last night on util
2008-05-26 22:07:26 +00:00
Karl 'vollmerk' Vollmer
a8b553d73f
fixed rating caching
2008-05-26 09:38:39 +00:00
Karl 'vollmerk' Vollmer
97bcd21404
added direct links back in, added batch download to single artist view, removed useless cruft
2008-05-26 08:28:09 +00:00
Karl 'vollmerk' Vollmer
13ae6a0371
show the top 2 tags on songs, sync fixes from /branches/3.4 improved caching on song object
2008-05-26 04:08:45 +00:00
Karl 'vollmerk' Vollmer
669753d59d
first steps of a fix for the xml-rpc streaming and cataloging
2008-04-15 03:14:42 +00:00
Karl 'vollmerk' Vollmer
bd270b0227
fixed the acl issue... sigh
2008-03-07 06:51:52 +00:00
Karl 'vollmerk' Vollmer
2c337852cf
major corrections to reading of preferences and a few misc fixes which I have now forgotten
2008-02-29 06:14:46 +00:00
Karl 'vollmerk' Vollmer
31d5e782de
removed ip2int, int2ip custom functions fixed browse issues when adding filters in specific order
2008-02-28 05:44:49 +00:00
Karl 'vollmerk' Vollmer
cba4a991c0
minor tweaks to session insertion to prevent crazy people with http agent strings over 255 from breaking the query, also fixed missing truncate
2008-01-13 05:59:13 +00:00
Karl 'vollmerk' Vollmer
15f3664049
fixed old password problem
2007-12-25 04:42:24 +00:00
Karl 'vollmerk' Vollmer
c31b6f050c
removed duplicate cookie-age and bad logic on read
2007-12-25 03:25:59 +00:00
Karl 'vollmerk' Vollmer
a2c471bd18
reimplemented the session function check
2007-12-25 02:47:56 +00:00
Karl 'vollmerk' Vollmer
74ff21838d
changed alpha4 to beta1, updated translation base files, corrected mysql_auth logic
2007-12-24 06:32:17 +00:00
Karl 'vollmerk' Vollmer
34b92d2dd5
fixed now playing for the API and lack of session extend when using the API
2007-12-24 01:28:07 +00:00
Karl 'vollmerk' Vollmer
07d0f50955
fixed login that was out of order
2007-12-23 20:01:35 +00:00
Karl 'vollmerk' Vollmer
ea8f3e685b
fixed API calls, cleaned up old functions that are no longer needed
2007-12-23 09:01:09 +00:00
Karl 'vollmerk' Vollmer
7e1432273a
API and XML-RPC are still broken, but moved to new session code, sleep time
2007-12-20 09:12:04 +00:00
Karl 'vollmerk' Vollmer
897b35aedd
fixed issues with user edit and create, fixed seek errors (Thx Karl Hungus) started digging myself out of the session tarded hole I created, API is broken with this commit
2007-12-20 07:31:00 +00:00