Commit Graph

60 Commits (ca36d1f406bef9ada10b7dff6c5a541ba5110c9e)

Author SHA1 Message Date
Angie Byron cede322c1b #293612 by egfrith: user_authenticate() should work when is empty. 2008-10-11 16:37:38 +00:00
Dries Buytaert 9f3d9f1115 - Patch #161301 by Eaton, Sun, moshe and webchick: make checking for node edit forms easier. DX improvement. 2008-09-27 20:37:01 +00:00
Dries Buytaert 8fc581d4d7 - Patch #309488 by kbahey: correct capitalization of TRUE and FALSE. 2008-09-19 07:53:59 +00:00
Dries Buytaert 7f29b14277 - Patch #305645 by pwolanin: ['REQUEST_TIME'] -> REQUEST_TIME. Improved developer experience. 2008-09-17 07:11:59 +00:00
Angie Byron 161a9970f7 #308534 by Dave Reid: Remove stray whitespace core-wide. 2008-09-15 20:48:10 +00:00
Dries Buytaert 312b97e9e9 - Patch #253702 by Damien Tournoud et al: further clean-up of the session handling code. 2008-09-15 15:18:59 +00:00
Dries Buytaert a1d73f1342 - Patch #253702 by jscheel, gpk: clarified session handling functions. 2008-09-08 21:08:24 +00:00
Dries Buytaert e5b0e5f76c - Patch #302763 by Dave Reid, Rob Loach: replace time() by ['REQUEST_TIME'] as per Rasmus' suggestion. Removed drupal_referrer() for consistency. 2008-09-06 08:36:22 +00:00
Angie Byron c63992027b #297860 by catch: Reverting reversion to reverted DBTNG stuff. Tests should pass now. 2008-08-31 12:50:45 +00:00
Dries Buytaert 71f0176beb - Patch #297860 by Damien Tournoud: sess_write should use a db_merge(). 2008-08-23 07:13:49 +00:00
Dries Buytaert 69e6f411a9 - Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7. 2008-08-21 19:36:39 +00:00
Dries Buytaert 021be926d4 - Patch #293421 by Bart Jansens: fixed documentation of sess_count(). 2008-08-12 10:28:33 +00:00
Dries Buytaert 75e9494f73 - Patch #213699 by Damien Tournoud, c960657: fixed race condition in sess_write(). 2008-07-11 10:14:27 +00:00
Dries Buytaert 76151a8bc9 - Patch #245504 by catch, David_Rothstein, Freso, et al: removed the throttle module from Drupal core. 2008-04-16 11:35:52 +00:00
Dries Buytaert 56d2664a90 - Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators. 2008-04-14 17:48:46 +00:00
Dries Buytaert 70eb02dfc9 - Patch #218116 by greggles: document session_save_session(). 2008-02-17 20:03:42 +00:00
Dries Buytaert 210311903e - Patch #221364 by chx: removed PHP 4.3 workaround. Oh, yeah. 2008-02-14 18:43:32 +00:00
Gábor Hojtsy ac4c8f7ab0 #203274 by Pasqualle: remove excessive witespace from our code (minor) 2007-12-22 23:24:26 +00:00
Gábor Hojtsy afe3f4318d security fixes forward ported from Drupal 5.2 - previously not committed parts of http://drupal.org/cvs?commit=74833 2007-12-05 19:12:59 +00:00
Dries Buytaert b134b023e1 - Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement. 2007-08-12 15:55:36 +00:00
Dries Buytaert 772a2d39d2 - Patch #40545 by Moshe: reduces contention in the users table. 2007-07-23 07:29:29 +00:00
Dries Buytaert 4a6f5869e5 - Patch #142773 by kbahey: made Drupal work correctly when behind a reverse proxy. 2007-05-25 15:04:42 +00:00
Dries Buytaert 301c6e7539 - Patch #139517 by Grugnog2: improved code comment. 2007-04-27 07:47:38 +00:00
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