summaryrefslogtreecommitdiff
path: root/modules/account.module
Commit message (Collapse)AuthorAge
* - Fixed some HTML errors in the help.natrak2001-06-26
|
* - Fixed bug in account.module (reported by Gerhard and Kristjan).Dries Buytaert2001-06-21
| | | | - Incorporated some of the suggestions. More to come.
* - Added a brand-new access.module which allows you to manage 'roles'Dries Buytaert2001-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | (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 ...
* - Made it so that usernames can contain spaces. Like that, people canDries Buytaert2001-06-19
| | | | use their full name as their username.
* Changesnatrak2001-06-18
| | | | | | | | - Modifed form_select() to accept an optional 6th parameter which is appeneded to the select tag. $value can now also be an array. This allows for multiple selects: form_select($header, $name, $values, $options, $help, "multiple=\"true\" size=\"10\""); - Updated account.module to use the extended form_select() functionality.
* Changesnatrak2001-06-18
| | | | | | | | | | - Moved account_password() and account_validate() to user.inc. - Greatly reduced the number of SQL calls in account_save() when editing an account. Now uses one db_query() call instead of 1 + (2 * # of access granted). - Fixed access not being saved when account was added. - Should now be possible to edit and add accounts. There were certain bugs before that would cause odd errors.
* - Merged "system settings" and "module settings" into one page. IMHODries Buytaert2001-06-17
| | | | | | | | | | it wasn't a good idea to split them up in first place, and it turned out to be quite hard to decide where to put some variables. Also moved some variables around and even renamed a few variables while doing so. - Added a page_header() and page_footer() to all top-level .php pages.
* Oops, a rather large commit:Dries Buytaert2001-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Changed meta.module, node.module and index.php to use comma-seperated lists of attributes rather then "foo=a,bar=b" lists. This makes it a a lot easier to use both modules. In addition, error handling can be discarded as it can't be made any simpler, really ... It fits rather nicely in Drupal's design so I'm getting more and more happy with this meta.module (but we are not 100% there yet). - node.module, node.inc: + Improved the node-related admin interface so that navigating back and forth the administrative menus is made both easier and faster. + Removed some redundant database fields from the node table. See 2.00-to-x.xx.sql! + Added 2 news hooks called "node_insert" and "node_update". Just like this is the case with the existing hook "node_delete" these new hooks will automatically get called when a node has been inserted or udpated. Note that this is an optional call-back that only needs to be implemented when required. With the addition of these two hooks, the node mechanism (version 1) is pretty well completed. - watchdog.module: + Fixed bug whit the 'regular messages' query in the watchdog.module. - book.module: + Fixed bug in book.module: the 'parent' was not set properly when updating a book page. + Made it so that older versions of a book page are automatically reactived upon deletion of the most recent version, i.e. when doing a version roll-back. - comment.inc: + Undid Remco's patch to comment.inc; it does not work in some cases. - conf.module: + Fine-tuned some of the options in conf.module a bit. - marvin.theme: + Visual changes to make it look better on Windows browsers. Mind to give some feedback on this? + Fixed 3 HTML typos/bugs. + XHTML-ified the theme at a best effort basis; I didn't carry the XHTML specification with me. + Made use of the theme_slogan variable to display the site's slogan. + As soon we have at least one valid XHTML theme we can wonder on how to integrate other XML namespaces (cfr. MathML story at drop.org). - database.mysql: + Updated database.mysql so that it contains all the latest "database patches".
* - Fixed a bug while editing an account it would loose the account info alongnatrak2001-06-16
| | | | the way.
* Changesnatrak2001-06-15
| | | | | | | | | - Added a conf option to disable/enable user registrations. - Added a add account feature to account.module. - Moved some functions from account.php to account.module. Todo - Move most (all?) of account.php to account.module.
* - Added very basic 'filters' to the watchdog.module which should make itDries Buytaert2001-06-15
| | | | | | | easier to sort through all the watchdog "noise". I'm sure the current filters will do for 99% of all the Drupal sites though. (Sorry for the awful color scheme, Coney but I can't do any better.)
* - Changed field_set(), field_get() and field_merge() to use ',' andDries Buytaert2001-06-11
| | | | | | | | | | | | | | | | | | | | '=' 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
* Typo: "oparations".Steven Wittens2001-06-10
|
* - Fixed problem with account.module listings.Dries Buytaert2001-06-07
| | | | (Reported by Remco.)
* - Fixed bug in account.module.Dries Buytaert2001-05-17
| | | | | | | | - 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. ;)
* - Removed the "history"-field from the SQL table "users" and addedDries Buytaert2001-05-16
| | | | | | | | | | | | | | 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
* - Code review: improved search API, tidied up the search related code,Dries Buytaert2001-05-09
| | | | and fixed a tiny bug when searching for users.
* - Uhm. Rewrote the module system: less code clutter, less run-timeDries Buytaert2001-05-05
| | | | | | | | | | | | | | | | | | | | 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!".
* CHANGES:Dries Buytaert2001-05-02
| | | | | | | | | | | | | | | | | | | | - 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?
* Welp. Large commit ahead.Dries Buytaert2001-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CHANGES: - Added "read" and "write" permissions into drupal but removed it again because - when finished after 3 hours of work - it was considered nothing but added complexity that didn't buy us anything. :I (I'll explain this in detail on the mailing list, I guess.) - Added a very simple help.module to group all available documentation on a single page. - Fixed bug in node_control(), book.module: UnConeD forgot to global $user when updating the combobox code. - Removed static wishlist.module: in future, the wishlist can be maintained as a page in our collaborative book. - Revised most of settings.module: tidied up the code and the descriptions to accompany the settings and introduced a new "default maximum number of nodes to display on the main page" variable. - Revised most of comment.module: the administration interface looks better now, integrated node permissions, and -finally- made it possible to delete comments. - Polished on: + account.module + structure.module + locale.module + module.module + forum.module - Form-ified: + account.php + account.module + setting.module + cvs.module + submit.php + comment.module + forum.module + book.module + page.module + locale.module - Updated CHANGELOG INFO: - Designed a "generic tracker system with optional backends" on paper. The idea is to allow registered users to hot-list certain topics, individual nodes or threads (comments) and to "plug-in" output backends like - for instance - an e-mail digest. The design requires "intelligent blocks" though. TODO: - I want to tidy up the headline.module and backend.class as well as merge in headlineRSS10.module. Julian spent quite some time working on headline.module but I'm not sure what he changed and whether he'd contribute it back?
* - improved submit.php:Dries Buytaert2001-04-15
| | | | | | | | | | | | | | | | | | it now uses the new category code, incl content bindings. You can setup different "categories" which map on a content type. Example: review -> review.module article -> story.module column -> story.module announc. -> story.module addons -> file.module themes -> file.module - "generalised" story.module and book.module's output. - fixed bug in includes/timer.inc - fixed glitch in theme example.theme: it said "$how by" but the variable $how has never been declared. - added "drupal development settings" to display some timings - more work on the categories/topics -> does NOT work yet
* - fixed small glitch in account listingsDries Buytaert2001-04-12
|
* - improved administrator interface of account, node, story and bookDries Buytaert2001-04-10
| | | | | | by (1) adding a few extra features to "easify" navigation and (b) to start using "status messages" as once suggested on the mailing list by Jeroen
* - small improvement to admin interfaceDries Buytaert2001-04-09
|
* - various smaller improvementsDries Buytaert2001-04-04
|
* Commiting my work of last Sunday:Dries Buytaert2001-04-02
| | | | | | | | | | | | | | | | | | | | | | - 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.
* - fixed "you-have-to-logout-and-login-before-permissions-change" bugDries Buytaert2001-03-31
| | | | | | | (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
* - fixed issue depricated call-by-reference issuesDries Buytaert2001-03-29
| | | | | | | | | - 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
* Flushing my backlog (in case Natrak wants to make more changes):Dries Buytaert2001-03-28
| | | | | - tidied up some of the code - fixed a small problems
* Fixed a small typ that caused the existing real name of an account now being ↵natrak2001-03-27
| | | | shown when editing it.
* - large commit of everything else that has been queued in my backlog:Dries Buytaert2001-03-25
| | | | it's not 100% stable yet
* - applied David Norman's patch to turn all <?'s into fully qualifiedDries Buytaert2001-03-10
| | | | <?php's.
* A rather large and important update:Dries Buytaert2001-03-07
| | | | revised most of the SQL queries and tried to make drupal as secure as possible (while trying to avoid redundant/duplicate checks). For drupal's sake, try to screw something up. See the mail about PHPNuke being hacked appr. 6 days ago. The one who finds a problem is rewarded a beer (and I'm willing to ship it to Norway if required). I beg you to be evil. Try dumping a table a la "http://localhost/index.php?date=77778;DROP TABLE users" or something. ;)
* - Took all "rating logic" out of the account.module and moved it intoDries Buytaert2001-03-03
| | | | | | | | | | | | a seperate module called "rating.module". This should allow people to experiment with different rating heuristics/algorithms. - The rating module also generates a "Top 100 users" page, see: http://drop.org/module.php?mod=rating - Adjusted ./scripts/php-clean to ignore png files. (I should do it the way around and make it ignore everything but our php files.)
* - small changes to the watchdog module to make it more conform with otherDries Buytaert2001-02-23
| | | | | | | modules - small changes to the account module to make it more conform with other modules - users can be deleted
* - locale module: added documentation (first draft)Dries Buytaert2001-02-21
| | | | | | - locale module: improved administration interface - headline module: fixed small visual glitch in export function - account: small improvements
* - fixed 2 bugs and 1 confusing issue in modules/account.module:Dries Buytaert2001-02-18
| | | | | | * last access field should not be updated when admin edits stuff * saving empty access list caused warning message * clicking the access links was confusing (no more links)
* - added fine-grained user permission system which allows us to giveDries Buytaert2001-02-18
| | | | | | | | | certain users access to specific administration sections only. Ex. a FAQ maintainer can only edit the FAQ, and members of an "editorial board" can only edit comments, diaries and stories, .. - code review => rewrote include/user.inc which is much easier now - fixed 4 small bugs
* - initial import of the preliminary translation code.Dries Buytaert2001-02-12
| | | | | | | | - added timer.inc for benchmarking purpose - bugfix for php-clean - bugfix for account.php - removed redundant format_data - ...
* - small updatesDries Buytaert2001-02-10
|
* - a 2nd batch of various updatesDries Buytaert2001-02-10
|
* - added a "search framework" which allows for easy searchingDries Buytaert2001-02-10
| | | | | (to be continued) - tidyied up some existing code
* - fixed tiny bug in the user account administration pageDries Buytaert2001-02-08
|
* - added new feature for evaluating purpose: user rating (mojo, karma)!Dries Buytaert2001-02-07
| | | | - removed tabs from Jeroen's theme
* - various updates, bugfixes and improvementsDries Buytaert2001-02-04
|
* - removed all tabsDries Buytaert2001-01-26
|
* - removed redundant spacesDries Buytaert2001-01-26
|
* - updated/improved discussion engine: it needs additional fine-tuningDries Buytaert2001-01-20
| | | | | | | | | | | | | | | | | | | though but I think this is stable enough for public consumption and real-life testing. ==> a first big step towards a flexible comment engine. IMPORTANT: - Required theme updatins: UnConeD: check your $theme->controls() as I added a very, very dummy implementation - Required database updates: alter table users modify mode tinyint(1) DEFAULT '' NOT NULL; alter table comments change sid lid int(6) DEFAULT '0' NOT NULL; alter table comments add link varchar(16) DEFAULT '' NOT NULL; update comments set link = 'story';
* - rewrote the block placement stuff and updated the themes.Dries Buytaert2001-01-13
| | | | | | | IMPORTANT: you have to drop 2 tables "blocks" and "layout" and you have to recreate them again with those in database/database.mysql - integrated the documentation written by UnConeD
* Surprise, surprise. After nothing but code, a large batch of changes:Dries Buytaert2000-12-29
| | | | | | | | | | | | | | | | | | | | | | - removed droplets - added (optional) admin_blocks module - added (optional) affiliate module - added (optional) about module (only placeholder, under construction) - fixed some tiny bugs (e.g. quote bug in search.php) - partionally rewrote some modules to be big, bad and better - partionally rewrote some modules to be more uniform - added GNU GPL license to CVS Also: - installed PHP 4.0.4 on my localhost and now working towards PHP 4.0.4 compatibility. - I think I'll baptize the engine "drupal". If you have a better idea, try convincing me ASAP. Todo: - more testing (also with PHP 4.0.4) - make "project"-module: download, info, blah blah - complete documentation