Galen Charlton
6eaf0d6a6e
bibllios integration: added authentication
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-20 20:37:48 -06:00
Chris Nighswonger
8b50bde81b
Ported session storage code to support PostgreSQL
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-16 07:27:24 -06:00
fa18d24cb7
Enabling yuipath system preference for choosing local or Yahoo-hosted YUI js library includes. Removing yui-toolbars.inc include.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-08 18:06:43 -06:00
Joshua Ferraro
ae9696bc67
Revert "Auth.pm conflicted merge resolution."
...
Bugs are being reported for this patch, notably that the userenv
isn't populated correctly. I'm reverting immediately.
This reverts commit e0ddd34a4c
.
2007-11-06 14:03:54 -06:00
Joe Atzberger
e0ddd34a4c
Auth.pm conflicted merge resolution.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-06 06:33:27 -06:00
63cb08fc8d
Enabling AutoComplete on resident circ search form. Putting dependent YUI files into doc-head-close.inc along with button/menu-related YUI js and css. Moving menu.css, button.css, and dependent graphics into lib/yui. Removing "yui-skin-sam" class from body tags and altering css accordingly.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-04 16:31:18 -06:00
Galen Charlton
74d3d6e8e3
comment out version check warn
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 19:44:23 -05:00
Chris Cormack
131ca67f2d
Catching up changes in reports
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-29 16:12:48 -05:00
Chris Cormack
762a8e1129
Fixing mess in Auth.pm
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-29 16:12:17 -05:00
Chris Cormack
92c1c00e4a
Revert "Commenting out some noisy warns"
...
This reverts commit f4df886c707a97da9296be9dbd59f5c74244d5d1.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-29 16:12:13 -05:00
Chris Cormack
beb1baf686
Fixing merge error
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-29 16:12:09 -05:00
Paul POULAIN
6f5a9ee480
IndependantBranches behaviour fix
...
if IndependantBranches is set, then the user can't choose it's branch, it's automatically affected to it's own branch.
This fix removes the branch list & choose the branch automatically from the login
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:02:24 -05:00
Chris Cormack
b9c20fa9cf
Patch from Galen Charlton, removing $Id$ $Log$ and $Revision$ from files
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 20:22:01 -05:00
Henri-Damien LAURENT
aa38c487e9
Minor Bug Fix : Using IntranetBiblioDefaultView in Intranet
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 19:40:59 -05:00
Paul POULAIN
847bf18dad
SearchMyLibraryFirst : reintroducing behaviour (from 2.2)
...
If the SearchMyLibraryFirst is set, then a logged user will automatically limit the search
to it's own library.
I also did some code cleaning
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-17 07:15:06 -05:00
Chris Cormack
e1e3c7839e
Missing session->delete on users voluntary logout
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-06 18:12:24 -05:00
Chris Cormack
3185814348
Adding session storage to the other place sessions are made
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-06 17:03:37 -05:00
Chris Cormack
47db7248a2
Setting up a system preference to choose whether CGI::Session uses mysql, or
...
temporary files
Need to add it to a couple more places in C4::Auth
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-06 17:03:18 -05:00
Frédéric DEMIANS
ed1539eef5
Bug #1462 correction.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-06 01:38:02 -05:00
Paul POULAIN
dece480996
removing warn
...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-03 14:58:23 -05:00
Paul POULAIN
6918fe7066
oups, sorry, missing #
...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-02 15:45:48 -05:00
Paul POULAIN
bb12924c1b
some cleaning in Auth
...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-02 15:45:07 -05:00
Joshua Ferraro
f3e2ccfbf6
revive IntranetmainUserblock syspref, three-column design for mainpage
...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-30 03:06:26 -05:00
Chris Cormack
f12fc20e1d
Fix to get selectbranchandprinter working fine with the Session
...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-06 20:48:13 -05:00
Joshua Ferraro
78d564b26e
fixing help feature with new template structure
...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-30 15:51:05 -05:00
Joshua Ferraro
ea16c580ab
fixing inproper CGI header, again
...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-30 15:50:56 -05:00
Joshua Ferraro
eb43cc8a32
adding support for js includes
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-29 12:22:37 -05:00
Joshua Ferraro
6ff1ecf14f
adding levels for library, module, page and widgets per page
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-29 11:45:05 -05:00
Chris Cormack
16d7cb2ea3
Fixing a bug that occured if Koha wasnt installed, but a cookie was set in the browser
...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 20:52:41 -05:00
Paul POULAIN
61c72f8f3e
Adding KOHAVERSION management.
...
The kohaversion is in the code directory (in /kohaversion.pl)
C4::Context now has a new method C4::Context->KOHAVERSION
that returns the koha code version.
The systempreference Version contains the database version.
If the 2 are differents, when the user log in, he is redirected to web installer (new behaviour : before this commit, the check was done on everypage, it's too CPU costly I think)
In the web installer, we check now if we do a new setup or an upgrade and show only the appropriate link.
The updatedatabase contains a lot of new things :
* SetVersion($kohaversion), that set the kohaversion after each update
* TransformToNum($kohaversion) that returns a number (3.0000001 from 3.00.00.001 for example) for a given koha version
* DropAllForeignKeys($table) that does what is written : drop all foreign keys. A shame it's not possible directly in mySQL...
* for each database update, just :
add the following lines :
=item
Describe what it does for other developpers
=cut
$DBversion = "your.koha.version.dbnumber";
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
#
# DO YOUR UPDATE STUFF
#
print "Upgrade to $DBversion done (specify what it does if you want)\n";
SetVersion ($DBversion);
}
IMPORTANT NOTES :
in koha 2.2, a new install was done through installing a 2.2.0 database, then updating it to the installed version.
in Koha 3.0, /installer/kohaversion.sql MUST contain an uptodate version, as the installer set the DB version to kohaversion after uploading kohaversion.sql. It does NOT run updatedatabase.
The update from Koha 2.2 to Koha 3.0 must NOT be done through the webinstaller : updatedatabase is very very long to run and you'll reach Apache timeout for sure. See http://wiki.koha.org/doku.php?id=22_to_30 that contains my notes for upgrading (with some/few UNIMARC specific stuff)
Note For RM, please eyeball this change
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-16 06:58:32 -05:00
Chris Cormack
aafcb600c1
Merge branch 'master' of /home/jmf/repos/koha-rm-root.git/
2007-08-10 12:15:13 -05:00
Joshua Ferraro
2b2f7a1794
revisions to login page to make it pretty
...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-10 12:15:05 -05:00
Chris Cormack
8494eff8bc
Removing warn in Auth.pm
...
Changing InstallAuth.pm to use CGI::Session
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-10 10:51:59 -05:00
Joshua Ferraro
663f3bb7d8
Revert "set the branch at login"
...
This reverts commit bf1fd83d08
.
Conflicts:
koha-tmpl/intranet-tmpl/prog/en/auth.tmpl
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 10:46:47 -05:00
Joshua Ferraro
6cdf0832e2
new virtual shelves changes, keyed by biblionumber
...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 09:17:49 -05:00
Joshua Ferraro
8ee881174f
Merge branch 'master' of /usr/local/git/koha_base.git/
2007-08-08 07:27:26 -05:00
Joshua Ferraro
bf1fd83d08
set the branch at login
2007-08-07 15:45:03 -05:00
Chris Cormack
dbdb7f4feb
Merge branch 'master' of /home/jmf/repos/koha-rm-root.git/
2007-08-07 15:43:42 -05:00
Joshua Ferraro
ab77322c08
adds the ability to set the branch at login,
...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-07 15:41:19 -05:00
Joshua Ferraro
737fd3465a
adding CGI::Session dependency for recent session re-write
2007-08-07 13:55:41 -05:00
Joshua Ferraro
a88a0d04ac
taking out a warn
...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-07 13:54:27 -05:00
Chris Cormack
512eda82cf
Auth.pm rewritten to use CGI::Session
...
Signed-off-by: kados <jmf@liblime.com>
2007-08-07 13:22:11 -05:00
toins
a9b9f8002b
using LoginBranchnameShort instead of LoginBranchname.
2007-07-17 09:28:52 +00:00
hdl
7275bc3d45
Adding KohaAdminEmailAdress
...
Adding LoginBranchCode
Adding a redirect to maintenance.pl for OPAC when installer required.
2007-07-11 10:24:24 +00:00
toins
335103bbd3
syspref are writed for the template in auth.pm
2007-07-10 14:21:41 +00:00
kados
f6126d9962
replacing SUPER with NO_LIBRARY_SET for login information
2007-07-03 18:29:37 +00:00
tipaul
8767b123c4
improving installer : now the database Version is compared to the Koha version (defined by <kohaversion>XXX</kohaversion> in koha.xml file. If the Version systempref does not exist or is lower than kohaversion, you're redirected to installer. If there is no Version, you're redirected to the 1st step of the installer (full install). If Version < kohaversion, you're redirected to step 3 (updatedatabase). check that you have <kohaversion> in you koha.xml, otherwise, you'l loop forever to the installer...
2007-07-03 13:50:20 +00:00
kados
daa450ebbd
adding a warn to log why we're redirecting to installer
2007-07-03 04:39:03 +00:00
tipaul
8581fe4bbd
updating web installer : going to step1 if needed and fixing sql
2007-06-26 14:30:22 +00:00
tipaul
5dd3f0229a
bugfixes (various), handling utf-8 without guessencoding (as suggested by joshua, fixing some zebra config files -for french but should be interesting for other languages-
2007-06-06 13:08:35 +00:00