- Jul 25, 2001
-
-
natrak authored
- removed comment_controls(). - modified comment_render() to use $theme->comment_controls(). theme.inc - added BaseTheme->comment_controls(). locale.module - can now search for status independant of language. - string is now a regular expression. For wildcard searches do .*text.*. - can search in modules + pages, all modules or a specific module. account.php - fixed viewing other accounts info would show the active users name in the real name field. - now shows users recent contributions and comments (if the user has access to them).
-
- Jul 24, 2001
-
-
natrak authored
- real name is now shown to all users. page.module - improved the locale support. comment.inc - added a wrapper table for comment_thread_max() as suggested by nick.
-
- Jun 30, 2001
-
-
Dries Buytaert authored
- Introduced caching support.
-
Dries Buytaert authored
- Tidied up node.inc and node.php a bit. - Fixed annoyance in comment.inc.
-
- 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 27, 2001
-
-
Dries Buytaert authored
- Fixed bug node.module bug: + the node scheduler did not un-schedule a node! - Fixed comment bugs (as a result of the formification): + no signatures where being attached to the comments. + check_input was used where is should have been check_output, with broken filters as the immediate result.
-
- Jun 26, 2001
-
-
Dries Buytaert authored
- Fixed typo in comment.inc as result of form-ification. Replying to a node was not possible: clicking the Preview button redirected you the main page.
-
- Jun 25, 2001
-
-
Dries Buytaert authored
- Fixed a few tiny bugs in comment.inc (introduced by the form-ification).
-
- 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 17, 2001
-
-
Dries Buytaert authored
Oops, a rather large commit: - 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".
-
- Jun 15, 2001
-
-
natrak authored
- Modified comment.inc to use form_*() functions. Might have some side-effects I haven't found yet. Report any problems.
-
- Jun 13, 2001
-
-
Dries Buytaert authored
- Fixed typo; missing ".
-
Dries Buytaert authored
- Applied Remco's patch, but added a closing </LI>-tag as well.
-
Dries Buytaert authored
- Added missing </TD>. (Patched by Remco.)
-
- Jun 10, 2001
-
-
Dries Buytaert authored
This a rather large commit that needs a lot of fine-tuning. If you update, you'll break your site as you need switching from structure to index.module: so this can be considered an intermediate commit. If you upgrade, and you are welcome to, just create a collection called "section" (for now) and assign your nodes some attributes in the described format. Feedback and bugreports are welcomed. Questions will be answered. CHANGES: - comment system: + when replying to a node (rather then to a comment), that node is displayed above the reply form. + when replying to a comment (rather then to a node), that comment is displayd above the reply form. - removed structure.inc, removed structure.module. - node.inc: + added 2 new node functions called 'node_attribute_edit()' and 'node_attribute_save()' used to 'hook in' any indexing system including your home-brewed stuff if you'd want to. Currently, index.module is the facto default index system. See story.module for usage. - book.module, story.module, poll.module, page.module, forum.module: + added preview functionality to administration section (via node module). + removed all references to structure.inc (category, topic). - moderate.module: + removed all references to structure.inc (category, topic). - book.module, story.module, page.module, forum.module: + increased the sizes of some textareas. - submit.php: + removed all references to structure.inc (category, topic). - marvin.theme: + removed dead code: function story() was depricated. - unconed.theme: + removed hardcoded references to drop.org. - marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme: + removed all references to structure.inc (category, topic). TODO: - file.module, trip_link.module: + update preview functionality: see story.module for example. + remove references to 'cid' and 'tid', use 'attribute' instead: see story.module for example. - extend and build upon index.module as well as making it configurable
-
- May 20, 2001
-
-
Dries Buytaert authored
- Redid settings.module and even renamed it to conf.module. * Settings are now grouped in basic categories like "system settings", "module settings" and "filters". * Added new settings to make Drupal easier to configure and to make some aspects like the watchdog scale better. - Renamed includes/settings.php to includes/conf.php. - Added filter support to conf.module and introduced filter hooks so modules can implement and export new filters. Example filters are an HTML filter (implemented), a profanity filter, an url converter, ASCII smileys to images filter and so on ... - Reworked the check_* functions: user contributed content/input is only verified and filtered once in its lifespan. NOTES - Altough this is a large commit, no database changes are required.
-
- 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
-
- Apr 29, 2001
-
-
Dries Buytaert authored
- Addition: added a new, tiny forum module: I will use this forum module to develop and test the permission system along with the regular nodes. And hopefully, this forum module will grow into a very useable piece of code for drop.org. Requires a new SQL table "forum", see 2.00-to-x.xx.sql. - Removed 1 unused hook from page.module. - Removed 1 unused function from comment.inc.
-
- Apr 21, 2001
-
-
Steven Wittens authored
-
Dries Buytaert authored
- Addition: added a "promote" field to the node table, which makes "promoting nodes" to the main page possible. Stories and reviews could be promoted by default, but - on accasion a good book entry could be manually promoted too. Thus all existing content types can be shown on the main page, not just stories. Requires a SQL update, see 2.00-to-x.xx.sql! - Addition: implemented "auto-post new submissions" feature to disable or by-pass the moderation queue in addition to "moderate new submissions". TODO: admin moderation versus registered user moderation. - Addition: added category and topic support to page.module.
-
- Apr 19, 2001
-
-
Dries Buytaert authored
- Addition: made it so that comments can be enabled/disabled on a node per node basis, rather then on a category per category basis. The default settings for each individual category can be changed though. Example: it can be setup so that - by default - all stories posted to the category "article" will have comments enabled but stories submitted to "announcement" not. Different configuration schemes can easily be added later. Requires a SQL update, see 2.00-to-x.xx.sql/database.mysql. - Addition: made submit.php only use categories that users can actually submit new content to.
-
- 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.
-
- Apr 15, 2001
-
-
Dries Buytaert authored
- improved submit.php: 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
-
- Apr 09, 2001
-
-
Dries Buytaert authored
-
- 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 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 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 24, 2001
-
-
Dries Buytaert authored
- simplified the comment code: the SQL queries are less complex, thus faster now.
-
- Mar 21, 2001
-
-
Steven Wittens authored
-
- Mar 10, 2001
-
-
Dries Buytaert authored
- fixed small glitch as a result from David's patch
-
Dries Buytaert authored
- applied David Norman's patch to turn all <?'s into fully qualified <?php's.
-
- Mar 08, 2001
-
-
Dries Buytaert authored
- more small improvements
-
Dries Buytaert authored
-
Dries Buytaert authored
- some important changes to our theme API which can be summerized as: abstract() + article() = story() abstract() and article() have been merged into a new function story() which looks like: function story($story_object, $reply) { if (!reply) { // full story } else { // main page version / abstract } } This should allow you to "compress" your theme as abstract() and article() tended to be 98% identical. => I didn't really merge your themes so I leave it up to *you* to improved the code!!! Do it ASAP as we release drupal 2.00 in 7 days. In future we'll have similar functions for other content types as for example: review($review, $reply); enquete($enquete, $reply); ...
-
- Mar 07, 2001
-
-
Dries Buytaert authored
A rather large and important update: 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. ;)
-
- Mar 01, 2001
-
-
Dries Buytaert authored
- fixed small translation glitch in format_interval - added a couple of missing t() functions - improved the comments module, fixed the score problem Jeroen reported earlier -> it's slicker but I hope it won't break anything
-
- Feb 18, 2001
-
-
Dries Buytaert authored
- added fine-grained user permission system which allows us to give 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
-