- Oct 16, 2001
-
-
Dries Buytaert authored
- Removed a node's link ID (lid) as discussed on the mailing list. See 'updates/3.00-to.x.xx.mysql' for the required MySQL updates. - Renamed some "author" fields to "uid" fields for sake of consistency. - Fixed the coding style of some PHP files. - Fixed the moderation queue (fairly untested though). - Re-introduced the temporary SQL table in _node_get(). - Added a missing 'auto_increment' to 'updates/3.00-to-x.xx.mysql'.
-
- Oct 12, 2001
-
-
Dries Buytaert authored
- replaced a header("Location: xxx") by a drupal_goto()
-
- Oct 09, 2001
-
-
Dries Buytaert authored
- PEAR-ification of Drupal by claw: you can now host Drupal on a wide range of databases including MySQL, PostgreSQL, MSSQL, and others. For additional information and an 'how to upgrade', check the mails sent to the mailing list.
-
- Sep 30, 2001
-
-
Dries Buytaert authored
- replaced all 'header("Location: foo")'s by a call to 'drupal_goto()' which will append the session ID to the uri 'foo' when PHP is compiled with '--enable-transe-sid'.
-
- Sep 16, 2001
-
-
Dries Buytaert authored
- Added the new user module!
-
- Aug 11, 2001
-
-
Dries Buytaert authored
- Changed the authentication and login scheme as discussed on the mailing list. - Fixed the export function in book.module (patch my Julian). - Fixed the comment alignment (comments got truncated).
-
- Jul 25, 2001
-
-
Kjartan Mannes authored
- format_username() now takes a second optional parameter which gives the real name of the user. Rest - updated the calls to format_username() where appropriate to show the name of the user instead of the account id. Clicking on a name will still give you the account info etc. If you find a place where the real name is not shown let me know.
-
- Jun 30, 2001
-
-
Dries Buytaert authored
- Forgot to update one user permission.
-
- Jun 29, 2001
-
-
Dries Buytaert authored
Extremely large commit: - Fixed tiny quote problem in account.php. - Fixed tiny bug in comment.inc. - Fixed tiny bug in comment.module. - Fixed tiny bug in meta.module. - Simplified user_access() API. - Rewrote link system: still needs fine-tuning and testing so don't upgrade if you are running a production site. ;) Updated all modules and themes to reflect this change. All other themes and modules need updating too!
-
- Jun 20, 2001
-
-
Dries Buytaert authored
- Added a brand-new access.module which allows you to manage 'roles' (groups) and 'permissions' ... (inspired by Zope's system). + Once installed, click the help-link for more information. + See updates/2.00-to-x.xx.sql for the SQL updates. - Modified loads of code to use our new access.module. The system still has to mature though: new permissions have to be added and existing permissions need stream-lining. Awaiting suggestions. - As a direct result of the new access system, I had to rewrite the way the top-level links in admin.php are rendered and displayed, and xhtml-ified admin.php while I was at it. TODO - Home-brewed modules need updating, home-brewed themes not. (Examples: file.module, trip_link.module) - As soon we *finished* the refactoring of the user system (KJ has been working on this refactoring already) we should consider to embed this role and permission code into account.module ...
-
- Jun 13, 2001
-
-
Dries Buytaert authored
- Improved watchdog and submission throttle: removed redundant code, streamlined the existing code, added new watchdog type called "httpd" for Apache errors. The latter should make it easier to add watchdog filters later on. - Clarified some watchdog messages.
-
- Jun 11, 2001
-
-
Dries Buytaert authored
'=' instead of ';' and ':'. It is considered to be more readable. --> A _first_ step towards and improved index.module. Stay tuned for more. + Important: If you update from CVS - apply the queries in 2.00-to-x.xx.sql! - Changed all 'attribute' to 'attributes'. + Important: If you update from CVS - apply the queries in 2.00-to-x.xx.sql! + Important: This might require to ieni-wieni small update to your custom themes and/or node-related modules: - themes: node_index($node->attribute) -> node_index($node) - node modules: attribute -> attributes
-
- Jun 03, 2001
-
-
Dries Buytaert authored
- Fixed timestamp problem in queue.module.
-
- Jun 02, 2001
-
-
Dries Buytaert authored
- Moved most of the options in structure.module to node.module. The structure.module either needs work, or replacement by index.module: see "admin > node > node settings". It will do for now and it can always made better when we can think of a better solution; it is the best I could think of. Now what? index.module or structure.module? I'm currently pro index.module. - Drastically simplified "variable.inc". - Removed most dependecies on structure.module from all content related modules. Thus making our modules more modular. ;) - Fixed calculation glitch in queue.module. - Fixed potential function name clash/conflict in rating.module, and simplified some code on my way. - Started removing all global variables $status and $rstatus. Global variables are "yucky" so in near future, we will replace all global $status variables by a call to node_status(). Originally, $status was only introduced as a temporary hack and nothing is as permanent as a temporary hack so I took it out when still possible. - Changed the watchdog messages a bit.
-
- May 31, 2001
-
-
Dries Buytaert authored
- Fixed bug in moderation queue.
-
- May 24, 2001
-
-
Dries Buytaert authored
- Improved the rating module: made it possible to define "weights" for the different content types. These weights are used when calculating each user's gravity. This is a required step before we can even think of "nodifying" the diary or headline module. - Polished a bit more on the other modules' crons.
-
Dries Buytaert authored
- Fixed a small glitch in the moderation queue.
-
Dries Buytaert authored
- Improved the crons and cron settings a bit. - Added a cron to queue.module to automatically discard or dump nodes older than x days.
-
- May 20, 2001
-
-
Steven Wittens authored
- Added the "delete" hook for node-modules. When called, a module should do additional clean-up if necessary. - Updated all node-modules
-
- May 17, 2001
-
-
Dries Buytaert authored
- Tidied up the field_get() API and improved the implementation of both field_set() and field_get().
-
Dries Buytaert authored
- Fixed bug in account.module. - Simplified field_set() API. - Made UnConeD's cool common timestamp format conform with the general coding style. Sorry to be so picky about this but I really can't help it. ;)
-
- May 16, 2001
-
-
Dries Buytaert authored
- Removed the "history"-field from the SQL table "users" and added this information to the "users"-field in both nodes and comments. This database/table change reduces the number of SQL queries and makes Drupal scale better where a lot of voting/moderation takes place. Last but not least it can be considered a new and better foundation for future moderation metrics / algorithms. In other words: it is plain better. --> oops, all voting/moderation results will be lost! --> requires database update, see "2.00-to-x.xx.sql"! - Updated database/database.mysql
-
- May 15, 2001
-
-
Dries Buytaert authored
- Drastically simplified the node_save() API, which should make the node-forms more secure. Updated "node.module" and "queue.module" to work with the new API. The upgrade script, 2.00-to-x.xx.php, is still broken and needs fixing.
-
Dries Buytaert authored
- Created 2 new functions: + path_uri(): returns the fully-qualified URI of your drupal site. + path_img(): returns the image directory or http://image-server.com/ in case you prefer to load-balance bandwidth usage. Replaced all occurences of the variable "site_url" with path_uri() and removed "site_url" from "setting.module". - Drastically simplified the node_save() API, which should make the node-forms more secure. Updated "story.module", "book.module", "forum.module", "page.module" and "node.module" to reflect this change. This is needs more testing so hit it, beat it, tease it. - Fixed an occasional glitch in the configuration file loading logic. - Made "queue.module" display an informative notice when an anonymous user tries accessing the moderation queue. - Updated the hard-coded information in drupal.module a bit.
-
- May 13, 2001
-
-
Dries Buytaert authored
- Fixed a warning in queue.module.
-
- May 06, 2001
-
-
Dries Buytaert authored
- Added custom PHP error handler to track down warnings and errors. (Jeroen: let's sit back and wait until that warning bites again.) - Simplified drupal.module. We still need a feature list, anyone?
-
- May 05, 2001
-
-
Dries Buytaert authored
- Uhm. Rewrote the module system: less code clutter, less run-time overhead, and a lot better (simpler) module API. I had to edit a LOT of files to get this refactored but I'm sure it was worth the effort. For module writers / maintainers: None of the hooks changed, so 95% of the old modules should still work. You can remove some code instead as "$module = array(...)" just became obsolete. Also - and let's thank God for this - the global variable "$repository" has been eliminated to avoid modules relying on, and poking in drupal's internal data structures. Take a look at include/module.inc to investigate the details/changes. - Improved design of the content modules "story", "book" and "node" (to aid smooth integration of permisions + moderate.module). I'm still working on the permissions but I got side tracked for which I "Oops!".
-
- May 02, 2001
-
-
Dries Buytaert authored
CHANGES: - Added moderator permissions to nodes. - Added moderator support to structure.module. - Added new moderate.module. - Renamed moderation.module to queue.module to avoid confusing. Updated theme yaroon as it seems to have a hard-coded reference to moderation.module. - Polished on: + account.module: improved access list + fixed HTML typo in node.module ACTIONS: - Jeroen: can jeroen2.theme be removed from ./themes/yaroon?
-
- Apr 16, 2001
-
-
Dries Buytaert authored
Another big update so please read this carefully because there is important information hidden in it. Made it so that we can disable/enable comments on a category by category basis. In order to accomplish this I had to make a few (*temporary*) changes. I moved all comment code from the "module level" (eg. story.module) to the "node level". It was nothing but the logical next step in nodifying drupal. This enables us to add comments to all existing content types including book entries. But also for book entries, this to can be toggled on and off. :-) Moreover module writers don't have to worry about the complex comment logic: it is "abstracted" away. This implies that story.module got smaller, faster and easier to comprehend. :-) In order to accomplish this, I had to update ALL THEMES, which I did - and on my way I updated Goofy, Oranzh and UnConeD - with the previous changes. All themes are up-to-date now! I also had to remove the [ reply to this story ] links, and temporally re-introcuded the "Add comment" button in the "Comment control". Tempora lly that is, UnConeD. ;) I plan to upgrade drop.org either tommorow or wednesday so test away if you have some time to kill. ;) Oh, I also fixed a few bugs and made various small improvements.
-
Dries Buytaert authored
Large commit, read it carefully, and make the required changes to your theme: - corrected some missing translations in story.module. Oops! - grealty simplified the "moderation threshold mechanism"(tm) so that module writers don't have to worry about this. As a result story.module and book.module became a bit smaller and easier to grasp. - greatly simplified new "category" and "topic" code which is soon going to replace the "section" code. Needs more work though so hang on thight. - includes/section.inc and modules/section.module are replaced by includes/structure.module and modules/structure.module. - beautified example.theme a bit without adding HTML complexity: it is a good example but still useful as a theme - made theme example use "categories" and "topics" --> TAKE A LOOK AT IT AND UPDATE YOUR THEME - made theme marvin use "categories" and "topics" --> TAKE A LOOK AT IT AND UPDATE YOUR THEME - added 2 new "story listings" to administrator interface of story.module to verify story integrity. - optimized comment table a bit (work in progress)
-
- Apr 06, 2001
-
-
Dries Buytaert authored
A lot of small changes (search-n-replace) make a big commit: - fixed update bug in book.module - provide a log message when both adding and updating book pages - all configurable variables are now accessed through "variable_get()": - rewrote watchdog and submission throttle and removed watchdog.inc - improved robustness of sections.inc - imporved story.module - updated ./database/database.sql
-
- Apr 05, 2001
-
-
Dries Buytaert authored
- a bunch of various updates
-
- Apr 04, 2001
-
-
Dries Buytaert authored
Last night's updates: - improved "track drop.org": it has now 2 boxes, one for "track comments" and one for "track nodes" - various small improvements to the book module based on the feedback we got. - fixed typo in moderation module - ...
-
- Apr 02, 2001
-
-
Dries Buytaert authored
Commiting my work of last Sunday: - removed ban.inc and ban.module and integrated it in account.module under the name "access control" --> the ban code was not really up to standard so this has now been dealt with. This refactoring and reintegration cuts down the code size with 100 lines too. :-) (The ban.module code was really old and it showed.) - added node.module and made the other modules reuse some of this code --> cut down the code size of modules by at least 100 lines and adds stability. - added a status() function to admin.php to display a conform status message where appropriate. See admin.php for usage. - removed $theme->control() and made comments.inc handle this itself wrapped in a $theme->box(). No need to clutter the themes with such complexity --> updated all themes already. :-) - some small visual changes to some administration pages to be more consistent across different modules.
-
- Mar 31, 2001
-
-
Dries Buytaert authored
- tidied up the watchdog messages
-
Dries Buytaert authored
- fixed "you-have-to-logout-and-login-before-permissions-change" bug (reported by UnConeD) - added "add node" link to book selection box and made it display the current location - removed tabs and whitespaces from themes - done automatically
-
- Mar 29, 2001
-
-
Dries Buytaert authored
- fixed issue depricated call-by-reference issues - fixed small visual glitch in includes/function.inc - changed SQL tables around a bit to be more consistent (result: small changes to a lot of different files) - improved robustness of includes/node.inc - improved output of cron.module - improved output of node.php
-
- Mar 25, 2001
-
-
Dries Buytaert authored
- refactoring, refactoring, refactoring
-
Dries Buytaert authored
- large commit of everything else that has been queued in my backlog: it's not 100% stable yet
-
- Mar 24, 2001
-
-
Dries Buytaert authored
- the "submission.module" is going to be replaced by a "moderation.module"
-