Steven Wittens
f7440d4d73
#130971 : Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc)
2007-03-27 05:13:55 +00:00
Dries Buytaert
ab1d68d166
- Patch #90612 by Bart Jansens: user_logout should only end the current session.
2006-12-04 10:41:20 +00:00
Neil Drumm
0b347f3a99
#93945 by chx. Save sessions before objects are destroyed on some configurations.
2006-11-11 22:41:20 +00:00
Neil Drumm
7459a335c3
#91046 by jvandyk. Fix handling of expired sessions.
2006-11-07 06:18:35 +00:00
Kjartan Mannes
860b79b644
- Patch #87372 by drumm: Broken login
2006-10-25 09:52:53 +00:00
Dries Buytaert
d638d8bc03
- Patch #87372 by crunchywelch: work around PHP session bug.
2006-10-24 15:31:35 +00:00
Dries Buytaert
cdd120ed20
- Patch #77936 by moshe and rdouglass: pluggable session handling.
2006-08-31 19:52:39 +00:00
Neil Drumm
e48ec09993
#79511 by timcn. Clean up some notices.
2006-08-21 06:25:49 +00:00
Dries Buytaert
49481f68f4
- Patch #79166 by hunmonk: fixed session breakage.
2006-08-18 19:24:52 +00:00
Dries Buytaert
3ace12caf8
- Patch #node/76931 by Robert: improved performance of Drupal's session handling.
2006-08-16 13:13:34 +00:00
Neil Drumm
9cff02e91b
#61802 by Zen, Double spaced sentences clean up
2006-05-07 00:08:36 +00:00
Gerhard Killesreiter
70aae83c8e
#58166 , fixes for typos, patch by Uwe Herrmann
2006-04-11 11:33:15 +00:00
Dries Buytaert
b1bdd4ac54
- Patch #41870 by fgm: improved debugging support.
2006-02-20 16:46:59 +00:00
Dries Buytaert
dd2109fcb9
- Pach #44947 by Moshe: fixed bug with session handling.
2006-02-17 11:10:49 +00:00
Dries Buytaert
37ec1bca84
- Patch #44947 by rkerr / Moshe: fixed race condition in session handling, reduced query overhead of session handling, reduced database overhead of session handling.
2006-02-10 05:42:11 +00:00
Dries Buytaert
4da4f4c1af
- Patch #44379 by Moshe: code improvements: always grant the 'authenticated user' role to authenticated users. Fixed glitch with udpate path.
2006-01-21 08:28:55 +00:00
Dries Buytaert
89e89a3b9b
- Patch 42115 by Cvbge/ m3avrck: improved performance of session loading.
2005-12-31 11:50:47 +00:00
Dries Buytaert
d01b4dbe10
- Patch #35354 by Moshe/chx: only update the last access time for authenticated users.
2005-10-28 13:35:49 +00:00
Dries Buytaert
7b8a409675
- Patch #29385 by chx: no ?> add end of files.
2005-08-25 21:14:17 +00:00
Dries Buytaert
8c92c8d48b
- Patch by Thomas: always use db abstraction layer
2005-08-10 20:42:54 +00:00
Dries Buytaert
5c8843704c
- Patch #18213 by chx: boostrap system. Modified to work with HEAD, tidied
...
up the documentation a little.
chx: can you double-check whether the global $conf variable is secure?
(That is, make sure it can't be send using the URL or something.)
2005-06-22 20:19:58 +00:00
Dries Buytaert
39d0fe9a38
- User module improvements: added an 'access' column to the users-table to
...
keep track of the user's last access. In turn, this allowed me to:
1. Optimize the "Who's online" block. On drupal.org, the "Who's online"
block requires 32 SQL queries. With this patch, only 2 queries are
left (eliminated 30 SQL queries), and one of the two remaining queries
became appr. 20 times faster.
2. Correct the "Last access" column in the user administration overview
table. The presented data was not accurate, which led to the column
being removed. You can now sort users by 'last access'.
2005-05-07 11:39:54 +00:00
Dries Buytaert
e3d62d907b
- Patch #19298 by Jeremy: loose caching!
...
Drupal's existing caching mechanism doesn't perform well on highly dynamic websites in which the cache is flushed frequently. One example is a site that is under attack by a spambot that is posting spam comments every few seconds, causing all cached pages to be flushed every few seconds. Loose caching immediately flushes the cache only for specific users who have modified cached data (whether or not they are logged in), delaying the flushing of data for other users by several minutes.
(I rewrote the help text a bit and made minor changes to the code comments.)
2005-04-11 19:05:52 +00:00
Dries Buytaert
2ba1d5bbcc
- Simplified the session code (PostgreSQL update).
2005-03-01 20:15:10 +00:00
Steven Wittens
365930732d
- Missing '>' (reported by Goba)
2005-03-01 18:45:38 +00:00
Steven Wittens
ff386b90bb
#17747 : PGSQL improvements
2005-02-28 18:00:59 +00:00
Dries Buytaert
f4132656b1
- Patch #15399 by adschar: fixed PHP5 error when a new session is inserted into the session table. (Better fix.)
2005-01-10 19:36:21 +00:00
Dries Buytaert
2e5f82c1e1
- Patch #15399 by adschar: fixed PHP5 error when a new session is inserted into the session table.
2005-01-10 19:33:23 +00:00
Dries Buytaert
f01bd675c0
- Performance improvement: made 'sid' the primary key of the sessions table.
...
That should improve performance of session handling as well improve
performance of the "Who's online"-block. Drupal.org's sessions table
contains appr. 40.000 sessions on a slow day and rendering the "Who's
online"-block became a performance bottleneck.
This change has yet to be tested on a busy site so things might go wrong.
2004-11-07 21:53:55 +00:00
Dries Buytaert
94e30bf776
- Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
2004-08-21 06:42:38 +00:00
Dries Buytaert
1ad9afb8a7
- Added support for multiple user roles. Patch by Jim Hriggs.
2004-05-10 20:34:25 +00:00
Dries Buytaert
51f4693c8b
- Fixed bug in session query that prevented sessions to work on PostgreSQL.
...
Patch by Adrian.
2004-01-17 10:06:04 +00:00
Dries Buytaert
eee72bfa95
- Patch 4859: new drupal_unpack() consolidates duplicate code and makes it
...
easy to show avatars next to nodes and comments. Patch by Moshe. As a
showcase, maybe Xtemplate should have an option to enable/disable avatars?
2004-01-13 19:25:37 +00:00
Dries Buytaert
6f80df7762
- Fixed bug 4745: undefined warning in sess_read().
2004-01-11 20:03:36 +00:00
Dries Buytaert
1c0155bc9d
- Fixed race condition in session handler. Patch by Kjartan.
2003-12-13 13:00:47 +00:00
Kjartan Mannes
2ffa04f5f2
- Fixes bug #4100 : First visit to site results in 'access denied' page.
...
- Fixed sess_write().
- Removed dead code in index.php.
2003-11-18 23:37:48 +00:00
Dries Buytaert
a0640e66b7
- Improved module loading when serving cached pages. Moshe's bootstrap patch.
...
- Used legend and fieldset tags for the configuration page.
2003-11-18 19:44:36 +00:00