Commit Graph

942 Commits (a3b9b7e92d5c9b47793c7b0e619c45352472890b)

Author SHA1 Message Date
Dries Buytaert 0b13183e09 - Fixed warning in headline_admin_add().
(reported by Remco)
2001-05-16 18:42:50 +00:00
natrak f40efdcada - Updated to only die() if page is directly requested. 2001-05-16 14:45:36 +00:00
Dries Buytaert ced0838a82 - Fixed bug in path_uri() 2001-05-16 12:31:08 +00:00
Dries Buytaert 1022eb61ab - 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.
2001-05-15 21:35:27 +00:00
Dries Buytaert a669485bc4 - Renamed ./themes/jeroen2/ in ./themes/yaroon/ (again). 2001-05-15 19:50:11 +00:00
Dries Buytaert 14ddbc473c - 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.
2001-05-15 18:38:57 +00:00
Jeroen Bensch 1da587a9d9 Hey,
I updated the theme a bit, changed some variables and the drop down menu... I hope it works because frankly I haven't tested it... I mean, I tested it but not that toroughly. Hope with me :)

I'll write a short story about it.

Jeroen.
2001-05-15 17:33:07 +00:00
Dries Buytaert 05676ba03b - Fixed bug in theme Yaroon: the image-path was set to ./themes/jeroen2/
instead of ./themes/yaroon/.
2001-05-15 07:37:13 +00:00
Steven Wittens bd76632b96 This is a major rewrite of the Goofy-theme.... the major problem with it was that it required a *lot* of overhead for a simple box, due to the fancy borders. To counter this, I've added simple functions in JavaScript to output the actual boxes, while the PHP functions themselves output simple function calls to them.
The result is an incredible loss of size, especially on larger pages.... on a typical drupal page (header/footer, 1 story box, 1 comment mod box, 4 comments and 1 side box) the difference was 23K vs 15K, which I find quite good. You should also notice how big some pages were in the old version, which are still tiny in the new version.

There are a few problems though:
 - You can't use it in some parts of the admin section (preview a story), since admin.php leaves out the header(), so the html-generating functions are not included there.
 - Because drop can occasionally insert HTML directly, without going through themes, I have to wrap each box in its own <script> tag. The optimization would benefit even more if i could group all function calls in one <script> tag, but it's not possible at the moment.

I suggest you take a snapshot of an original goofy-page (drop.org) and compare it with the output of this one (cvs-version) to see how it works exactly. And finally, it works on both IE5 and NS4, so I assume it does on most browsers.
2001-05-14 23:27:41 +00:00
Steven Wittens ce2ad0bd58 Nat: adding a block is nice, but make sure don't forget traling semi-colons on commands... :) 2001-05-14 23:08:29 +00:00
Steven Wittens 2baf9ac129 I've restored it to its previous condition... apparently the database.mysql is terribly outdated (didn't know this), so we should probably just wait till the final release to update it. 2001-05-14 23:07:23 +00:00
Steven Wittens 1e8b5a9233 Hmmm the "promote" column was missing... 2001-05-14 21:55:24 +00:00
Steven Wittens 9164b903a7 Typo 2001-05-14 21:28:35 +00:00
Steven Wittens 9790dc105c I think I've fixed the "chicken and egg"-problem when creating the first user account. I've made a snippet that deducts the host/path combo from $HTTP_HOST and $REQUEST_URI, which seems to be working OK over here. Try it out... 2001-05-14 21:12:41 +00:00
Dries Buytaert bb3ccea5f7 - Fixed typo: "$language" should have been "$languages". 2001-05-14 20:05:39 +00:00
Dries Buytaert e9295e20a0 - Small improvement (by Natrak) to display the correct CVS username. 2001-05-14 19:51:28 +00:00
Dries Buytaert e22f1042fc - Renamed "hostname.conf" to "setting.php" (cfr. "setting.module").
Note that - when upgrading - you have to rename all your existing
  configuration files to reflect this change:

     yourdomain.com.conf -> yourdomain.com.php

  By default, i.e. if no configuration file is found, setting.php
  will be used instead.  Using the ".php"-extension will fix most
  configuration/security issues with .htaccess-files ...

- Removed some dead code from forum.module.
2001-05-14 19:41:18 +00:00
Steven Wittens 8ec1018384 Updated headline.module:
- Added edit capabilities (allows you to view the backend-file url as well, wasn't possible before)
 - Docs: replaced "http://yourname.com/export/headlines.rdf" with the correct URL (using the site_url setting).
2001-05-14 19:13:31 +00:00
Kjartan Mannes aeb24cf91f - Fixed a problem with $format not being defined as global. 2001-05-14 18:53:37 +00:00
Kjartan Mannes eb8ab6e932 - Fixed a problem with $format not being defined as global. 2001-05-14 18:46:35 +00:00
Dries Buytaert 9519515520 - Removed the <PRE></PRE>-tags from cvs.module to make the CVS log
messages wrap nicely on all browsers.  (requested by Steven)
2001-05-14 07:26:08 +00:00
Steven Wittens 3e4454bd9b I added a trailing dot to the numbers in the ratings list. Call me a perfectionist... 2001-05-13 23:23:23 +00:00
Dries Buytaert 1559e6c2ab - Fixed a warning in queue.module. 2001-05-13 17:47:17 +00:00
Dries Buytaert 743fdddcda - Fixed typo in drupal.module (and helping Natrak to get the CVS digests
right).
2001-05-13 17:04:03 +00:00
Dries Buytaert d92b9e9c9b - Fixed a few typoes in drupal.module 2001-05-13 16:59:57 +00:00
Dries Buytaert 3121934810 - Updated CHANGELOG 2001-05-13 16:32:50 +00:00
Dries Buytaert 15942960a6 - Updated CHANGELOG 2001-05-13 14:53:20 +00:00
Dries Buytaert bf47263c75 - Updated CHANGELOG 2001-05-13 13:38:15 +00:00
Dries Buytaert 6772d695f9 - Update CHANGELOG 2001-05-12 21:48:32 +00:00
Dries Buytaert dcb7816ce2 - Updated CHANGELOG 2001-05-12 21:09:29 +00:00
Dries Buytaert 86bb9a10cb - Made the main page display sub-topics when a specific topic
is selected.

- Made theme_link() less "hard coded", we still have to make
  it fully configurable though.

- Fixed glitch in story submission: the warning messages were
  not displayed.

- Tidied up block.module a bit.
2001-05-12 21:06:13 +00:00
Dries Buytaert dda4e903a4 CHANGES:
- Added moderator support to topics.
2001-05-10 20:40:31 +00:00
Dries Buytaert c1c3943934 CHANGES:
- "Formified" node.module and structure.module.

- Added moderator capabilities to topics in structure.module; you can
  define the default moderators.
2001-05-10 19:47:35 +00:00
Dries Buytaert 1f072bb129 - Merged modules/headlineRSS10.module into modules/headline.module:
You can use both:
    http://www.your-domain.com/export/headlines.rss
    http://www.your-domain.com/export/headlines.rdf
2001-05-09 19:20:09 +00:00
Dries Buytaert 0000c2e401 - Code review: improved search API, tidied up the search related code,
and fixed a tiny bug when searching for users.
2001-05-09 18:28:09 +00:00
Dries Buytaert fae651d75f - Fixed submission bug in book.module. (reported by Remco) 2001-05-07 18:44:40 +00:00
Dries Buytaert 42081ec00f - Fixed bug in calendar.class: the calendar showed the current day as a
non-clickable field.  (reported by Remco)
2001-05-07 07:18:05 +00:00
Dries Buytaert 27c0f490e7 - Fixed problem in setting.module: some settings showed up twice.
(reported by Remco)
2001-05-07 07:04:40 +00:00
Dries Buytaert 64f0be062f - Fixed a bug in the book submission part.
- Fixed a bug in navigation through book pages.
- Fixed a bug in sorting books by weight.
2001-05-06 19:51:14 +00:00
Dries Buytaert 25c379fb61 - 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?
2001-05-06 17:19:58 +00:00
Dries Buytaert be8e898d23 - 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!".
2001-05-05 13:57:29 +00:00
Dries Buytaert 1681877761 CHANGES:
- Added moderator information to forum.module.

- Simplified story.module, page.module, forum.module and book.module
  by removing redundant code, and by doing other small house-keeping
  tasks.
2001-05-03 18:48:42 +00:00
Steven Wittens 97ec8e0c10 fixed typoe 2001-05-03 17:04:29 +00:00
Steven Wittens 0f27761e93 locale update 2001-05-03 17:01:58 +00:00
Jeroen Bensch e10572d75b Hey,
Deleted jeroen2.theme from /yaroon/

Jeroen.
2001-05-02 21:00:01 +00:00
Dries Buytaert 343e71c8eb 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?
2001-05-02 20:52:19 +00:00
Dries Buytaert 853141a930 - fixed small glitch in forum.module 2001-04-30 21:02:59 +00:00
Dries Buytaert bb66fa5fd0 Welp. Large commit ahead.
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?
2001-04-30 17:19:27 +00:00
Dries Buytaert fead09a8de Welp. Large commit ahead.
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?
2001-04-30 17:13:08 +00:00
natrak c8d16d76f9 Fixes
- Changed include "includes/common.inc"; to include_once
   "includes/common.inc"; Including the common file more than once will
   cause bad things.
2001-04-29 13:41:18 +00:00