Commit Graph

98 Commits

Author SHA1 Message Date
david 337e67859a Add new navigation bar for document pages, made up of icon box + tabs.
Integrated search screen with doctable, for incremental searching.
You can now go back and forth between compact and expanded doctables.
New statistics on lintadas run times.
Only error-checked docs can be mirrored.
URLParse now defaults to EN if the url doesn't say.
Publisher accepts URLParse's EN if there's no referer. Closes #91082.
Add collection, layout, short_title to search form.
2002-08-28 16:40:34 +00:00
david e4f96aee8e Fix Types table. 2002-08-25 15:51:15 +00:00
david dc5bdce055 Add support for "collections". Documents can be grouped arbitrarily by
"collection". Using collections "gnome", "ldp" and "ldp-archive".
Archived is no longer a pub_status_code -- it's a collection.
2002-08-25 15:22:01 +00:00
david f642bfb398 Flag erros if output file is zero-length.
Go right to home page on login/logout.
2002-08-25 01:09:53 +00:00
david 9ed4fa9935 Improvements in the Makefile.py system.
More statistics, on document formats.
Cleaner stylesheet.
Record Lintadas time in lint_time, do not mirror w/o lint_time set.
2002-08-24 18:33:52 +00:00
david 20afd0d771 Lots more Makefile.py and related work. 2002-08-23 00:59:11 +00:00
david c8cb1b74de Lots of Makefile.py improvements.
Added error_type hierarchy.
Added some statistics.
2002-08-21 17:38:10 +00:00
david cd543ed437 Added pub_time and mirror_time to record when these things happen.
Rearchitected the Makefile stuff, so we can run makefiles inside Python.
Update these fields during Makefile and Mirror. Closes #91002 and #91021.
Synched gnome-import with DataLayer.
update-static no longer runs make, since Makefile does a build.
Add some new errors that happen during publishing.
Removed user menu.
A bit of documentation on the document publishing/Makefile.py system.
Moved ERR_ constants into Globals.py.
Fix timestamp formatting bug.
Added alternating "banded" colors in tables with OddEven class and css.
Icons now available in three sizes.
Optional "block" layout for doctable, needs more integration still.
Show document translations, version, timestamp, etc. Closes #89723.
2002-08-18 01:49:29 +00:00
david 839e37d5c2 Some reworking of the Makefile.py system. Added ability to read in ascii. 2002-08-14 17:06:38 +00:00
david ce6494e423 Support replaced_by_id in db and WebUI. Closes #89730. 2002-08-14 12:19:48 +00:00
david 52e1ad5db4 Add a new tab to the document edit pages, with a list of translations.
Corrected missing tabs in German and French translations.
Docs.languages collection gives a list of keys in actual use.
I'll use this in the search screen, so only languages which will match at
least one document will be available.
2002-08-13 13:53:41 +00:00
david 55c946af7c Gave credit where credit is due.
Made categories nestable to arbitrary depth. Fixes #89715.
Imported Gnome ScrollKeeper categories. Needs more work. Fixes #89716.
Fixed relative links in static site (no initial / was confusing it).
Languages.supported_keys() returns list of supported language codes.
Fixed relative link in logo.
New Languages module so languages are available to Lampadas objects.
Display full topic title in topic table, colon separated.
Default page is index.html now, not home.html.
2002-08-13 03:08:54 +00:00
david 219cc5366e Add ldp graphic to credit the LDP.
Manually insert some extra files for one bit doc.
Make database talk over network. Closes #89726.
Added new splash page where you can select language.
Added new template to support splash page.
Extended stylesheets to support "floating" elements on splash page.
All pages now *require* a language extension.
New strings.
Tell tidy to encode into UTF-8.
Separated header into two blocks to make reformatting pages easier.
Fixed a ton of th tags that should have been td tags.
Fixed missing translation strings for error #7.
Removed stylesheet selection per user, site configurable only for now.
Some documentation updates.
Made the way registered/admin/sysadmin access is determined more sane.
Added step in Make process to convert to UTF-8. Closes #89719.
Fixed Mirror, broken in SourceFiles refactoring.
Fixed URLParse, broke URI.base calculation going to relative paths.
2002-08-04 01:25:00 +00:00
david df85f00f38 New TODO items.
Calculate rating inside document, no more kludgy .parent shit.
Remove stale force_lang property from URI class.
Update UnitTest.py; it now runs again. Requires LDP data, though.
2002-07-31 12:27:33 +00:00
david 99b669918b speedups
point directly to index.html
2002-07-29 23:37:00 +00:00
david 77e880879c speed improvements, factor of 15 in page generation
profiling code
work on static site
2002-07-26 22:41:35 +00:00
david 80772e68c5 bugfixes
code cleanup
greatly enhanced search form
made fields more consistent, all codes now end with _code
combo_factory -> widget_factory, and all methods now are named to match
attribute/field.
2002-07-25 13:43:38 +00:00
david f408059b5f Importing Gnome data from their omf files.
Split document_file up into document_file and filename
File reports can now be disabled for non-cvs files.
Enabled autocommit in the database for performance.
Cleaned up docfiles HTML table to fit in reasonable browser width.
Various user-interface improvements.
Improve meta-data gathering and management.
2002-07-25 10:56:40 +00:00
david f775917769 bugfixes for local but non-cvs files
bugfix for lang_ext when there is no data in the url
2002-07-24 03:19:03 +00:00
david 0931e9645c work on importing Gnome documents 2002-07-24 02:20:29 +00:00
david 61f624eace write NULL for empty strings in sqlgen.
Add dtd_version and dtd_code to files.
Have Lintadas update the doc when it updates the top file.
Remove editability for dtd information because it is read from the file.
2002-07-21 15:44:46 +00:00
david 3293c74e53 remove url and ref_url fields from document. 2002-07-17 19:42:39 +00:00
david 00ce8b6773 bugfixes
load more file information and store in document_file
display new file info in docfiles table
2002-07-17 18:11:03 +00:00
nico c0d42cdfe9 Added sqlgen module. Plan is to use it to simplify DataLayer's code.
An example of what could be done is in DocFile.save()
2002-07-15 22:07:40 +00:00
nico 1f7005024c Modified DataLayer.DocFiles.save() to give an example of how things could be improved by using cursor.execute(sql,params).
*not*tested* but should work fine. old code commented out... just in case.
2002-07-14 21:48:13 +00:00
david e65bee836a bugfix 2002-07-14 03:56:02 +00:00
david ed7cd13a64 add ScrollKeeper ID generation for new documents and imported LDP docs. 2002-07-13 19:32:18 +00:00
david 5253ecbdc4 add short_title, per Gnome request 2002-07-13 16:40:33 +00:00
david 311a950760 add copyright_holder and license_version fields to document. 2002-07-13 16:21:36 +00:00
david 0336435337 New table for file-specific errors.
Lintadas cleanup work.
HTML to display file errors
Bugfixes
2002-07-12 21:24:15 +00:00
david fa5aeb93d4 import script for LDPDB, loads users and documents but not much else yet.
finished "mail password" feature.
2002-07-11 14:02:34 +00:00
david bebca81f8d more sql optimization - populate child objects in parent 2002-07-11 00:16:14 +00:00
david 64b8ebc2c9 fixed bug introduced during optimization 2002-07-10 21:16:21 +00:00
david 90fa731a4e optimize loading of document sub-data, so it uses a single sql per
collection instead of one per document.
bugfix in Lintadas.
2002-07-10 20:43:29 +00:00
david 6c9d1f22cc fix ldp stylesheet
add user sessions page, only sysadmin can see it.
bugfixes
2002-07-10 17:44:21 +00:00
david bbd21bc919 content tweaks.
stylesheet tweaks.
controls module for admin only (need security still)
users listing now works
2002-07-10 16:03:22 +00:00
david d0133adcaf session timeouts
nulls in document dates
2002-07-09 20:44:44 +00:00
david f30d4029f3 lotsa bugfixes
new environment variable for CRON scripts
give session a timestamp, not a date
refresh session on each page load
2002-07-09 19:42:20 +00:00
david fb1303cf95 FR needs resynching, and allow any registered user to add a document. 2002-07-09 16:31:26 +00:00
david a5dd9a1322 bugfixes -- no URL should cause a crash.
manually add a user record -- does not send out an email.
security checks on records -- documents and users.
display error messages when record not found or no permission.
2002-07-09 16:09:24 +00:00
david 72916f4d5c Working on the Lintadas system, and saving document notes. 2002-07-09 07:40:19 +00:00
david 13bb52af11 topic was missing in topics for DE, some bugfixes 2002-07-09 02:52:10 +00:00
david 7e8bd78bdb document topics interface (assign topics to a document) 2002-07-08 13:37:57 +00:00
david 42067b0778 bugfixes 2002-07-07 21:32:26 +00:00
david 34dded0234 fix user's home page (tabuser_docs) 2002-07-07 18:54:30 +00:00
david c4f88f95c0 bugfixes, new forms now all work 2002-07-07 14:18:17 +00:00
david affd908575 web front end work, and some default updates 2002-07-07 13:51:56 +00:00
nico 342f6b318d Added FIXMEs. 2002-07-06 16:52:31 +00:00
david 778d278a1e lots of web work 2002-07-06 15:46:55 +00:00
david f3ee17a4f5 code cleanup 2002-07-05 07:00:49 +00:00