1 |
<html> |
<html> |
2 |
<head> |
<head> |
3 |
<title>joko's sample notes - 2003-01</title> |
<title>joko's sample notes - 2003-01 - InventoryCleanupAndRefactoring</title> |
4 |
<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" /> |
<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" /> |
5 |
</head> |
</head> |
6 |
<body> |
<body> |
7 |
|
|
8 |
|
|
9 |
<pre> |
<pre> |
10 |
|
|
11 |
|
|
12 |
|
<hr/> |
13 |
|
|
14 |
|
AIMS: |
15 |
|
- Convert this document into a data-structure and back. |
16 |
|
- Don't loose a bit of information. |
17 |
|
- Make possible to link to all resources available. |
18 |
|
|
19 |
|
for working with it |
20 |
|
- global metadata |
21 |
|
- cvs-loginfo/commitinfo |
22 |
|
- ItemMetadata |
23 |
|
- ItemStatus (open, closed and stuff) |
24 |
|
- ItemAuthor |
25 |
|
- ItemType |
26 |
|
- ItemIdentifier |
27 |
|
- references/associations to/from |
28 |
|
- word metadata |
29 |
|
- link to target |
30 |
|
- show target as ... |
31 |
|
- overview of all gathered metadata (at the bottom) |
32 |
|
|
33 |
|
for rendering it |
34 |
|
- render <target> at <locator> as <that-type> [in <this-mode>] [to this <othertarget>] |
35 |
|
|
36 |
|
<hr/> |
37 |
|
|
38 |
joko@netfrag.org - sample stack: |
joko@netfrag.org - sample stack: |
39 |
|
|
40 |
o [task by joko] introduced "dispatchmail" to add mail2news-functionality to "recieveMail" (collector@netfrag.org) |
o [task by joko] introduced "dispatchmail" to add mail2news-functionality to "recieveMail" (collector@netfrag.org) |
462 |
x /etc/init.d/apache reload |
x /etc/init.d/apache reload |
463 |
x test: http://news.netfrag.org/ |
x test: http://news.netfrag.org/ |
464 |
|
|
|
|
|
|
|
|
465 |
o new module for cvs-repository? |
o new module for cvs-repository? |
466 |
o nfo/layouts/fs/skel/data2 |
o nfo/layouts/fs/skel/data2 |
467 |
o checkout to /data on quepasa.netfrag.org |
o checkout to /data on quepasa.netfrag.org |
594 |
x sysadmin@netfrag.org |
x sysadmin@netfrag.org |
595 |
x faq@netfrag.org |
x faq@netfrag.org |
596 |
|
|
597 |
x setup newsportal (by Florian Amrhein) |
x --rework|*reworked*-- apache-layout - check into repository as something root is responsible for! |
598 |
|
|
599 |
|
x --setup|*setting up*-- newsportal (by Florian Amrhein) |
600 |
x url: http://florian-amrhein.de/newsportal/ |
x url: http://florian-amrhein.de/newsportal/ |
601 |
x cd /home/service/download |
x cd /home/service/download |
602 |
x mkdir newsportal |
x mkdir newsportal |
603 |
x cd newsportal |
x cd newsportal |
604 |
x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz |
x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz |
605 |
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
606 |
x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/virtual/netfrag/sites/news/apps/newsportal/ |
x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/global/apps/newsportal/ |
607 |
|
x add to /data/www/virtual/netfrag/conf/applications.conf |
608 |
|
Alias /webnews/ /data/www/global/apps/newsportal/ |
609 |
|
x configure in /data/www/global/apps/newsportal/config.inc |
610 |
|
// newsserver setup |
611 |
|
$server="news.netfrag.org"; |
612 |
|
$server_auth_user="webnews"; |
613 |
|
$server_auth_pass="web123"; |
614 |
|
x add to /etc/news/nnrp.access: |
615 |
|
# 2003-01-26, joko |
616 |
|
*:Read Post:webnews:web123:* |
617 |
|
x modify groups.txt |
618 |
|
<nfo.* - add all groups here> |
619 |
|
o TODO: AUTOUPDATE here! |
620 |
|
x add to the index-page: |
621 |
|
xR set INSERTION="<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />" |
622 |
|
x grep -rin "<head" * |
623 |
|
doc/readme-deutsch.html:4:</head> |
624 |
|
doc/faq.html:4:</head> |
625 |
|
doc/history.txt:234:- fehlender </head> Tag ergaenzt |
626 |
|
doc/readme-english.html:4:</head> |
627 |
|
doc/history.txt~:233:- fehlender </head> Tag ergaenzt |
628 |
|
extras/frames/thread_frameset.php:10:</head> |
629 |
|
head.inc:5:</head> |
630 |
|
x cvs add head.inc |
631 |
|
x cvs commit -m "+ initial commit" head.inc |
632 |
|
x <modify head.inc> |
633 |
|
x nano head.inc |
634 |
|
x <jump to line 5> STRG+W + T: 5 |
635 |
|
xR <insert INSERTION> |
636 |
|
xR <insert [ENTER]> |
637 |
|
x <save file> STRG+O + [ENTER] |
638 |
|
x test: <hit reload on <a href="http://www.netfrag.org/webnews/">http://www.netfrag.org/webnews/</a>> |
639 |
|
o TODO: RefactorThisHtmlRef to WebNews |
640 |
|
o view message in some MimeViewer or HtmlViewer (Horde?) |
641 |
|
o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities |
642 |
|
x Why newsportal and no other? |
643 |
|
x directly connects to nntp-daemon |
644 |
|
x has local spool (o TODO: purge regularly?) |
645 |
|
x highly customizable |
646 |
|
x added custom css-stylesheet and changed something at content-rendering-level without any problems |
647 |
|
x visit cvs.netfrag.org to look at the changes made to the newsportal codebase: |
648 |
|
x -> <a href="http://cvs.netfrag.org/nfo/hosts/quepasa.netfrag.org/data/www/global/apps/newsportal/">newsportal at cvs.netfrag.org</a> |
649 |
|
o TODO: RefactorThisLink |
650 |
|
x it's just easy! |
651 |
|
x setup dispatchrequest for http://news.netfrag.org |
652 |
|
x cd /data/www/virtual/netfrag/sites/news/ |
653 |
|
x create symlink |
654 |
|
x ./.symlinkrc |
655 |
|
x copy over from webcvs |
656 |
|
x cp ../webcvs/index.php . |
657 |
|
x mkdir .dispatch |
658 |
|
x cd .dispatch |
659 |
|
x cp ../webcvs/.dispatch/config.php . |
660 |
|
x cp ../webcvs/.dispatch/index.php . |
661 |
|
x cvs add ... |
662 |
|
x cvs commit ... |
663 |
|
x added|*adding* dispatcher at http://news.netfrag.org |
664 |
|
x used and mungled DispatchRequest(->cvs, ->doc, ->search) for this purpose |
665 |
|
o IdeaFor ParseDoc: expand: cvs=JumpToCvs, doc=JumpToDoc, search=SearchFor |
666 |
|
x examples for the JumpToCvs mechanism are shown on <a href="http://netfrag.org/~joko/computing/overview/topics/>computing/overview/topics</a> |
667 |
|
x tested http://cvs.netfrag.org/ - still working... |
668 |
|
o AddedFeatures to DispatchRequest: |
669 |
|
x JumpToNewsgroup: http://news.netfrag.org/nfo.tutos.sysadmin/ |
670 |
|
e.g. ->http://netfrag.org/webnews/thread.php?group=nfo.links.computing |
671 |
|
o JumpToThread: NotYetImplemented! DoWeReallyNeedThis? |
672 |
|
o JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/b0shbj$l9s$1@quepasa.netfrag.org |
673 |
|
x JumpToArticle: http://news.netfrag.org/nfo.links.computing/id/44 |
674 |
|
e.g. ->http://netfrag.org/webnews/article.php?id=44&group=nfo.links.computing |
675 |
|
|
676 |
o rework apache-layout - check into repository as something root is responsible for! |
x NfoWeb |
|
|
|
|
o NfoWeb |
|
677 |
o add WikiPages: |
o add WikiPages: |
678 |
o Overview |
o Overview |
679 |
o Projects |
o News |
680 |
o MiniHowTo |
o news.netfrag.org |
681 |
|
o Users |
682 |
|
o Development |
683 |
|
o Projects |
684 |
|
o cvs.netfrag.org |
685 |
|
o Documentation |
686 |
|
o Topics |
687 |
|
o MiniHowto |
688 |
|
o Download |
689 |
(o Search) |
(o Search) |
690 |
o modify HomePage |
o modify HomePage |
691 |
o change Projects to Overview |
o change Projects to Overview |
707 |
o IconForNetfrag.Org? |
o IconForNetfrag.Org? |
708 |
o fav.ico? |
o fav.ico? |
709 |
|
|
710 |
x install viewcvs |
x --*installed*|install-- viewcvs |
711 |
x apt-get install viewcvs |
x apt-get install viewcvs |
712 |
x configured: |
x configured: |
713 |
x /var/lib/cvs |
x /var/lib/cvs |
718 |
x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case |
x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case |
719 |
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
720 |
|
|
721 |
o rendering proposals for TaviWorkflow |
o rendering *proposals* for TaviWorkflow |
722 |
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
723 |
o Coloring |
o Coloring |
724 |
o [o=red, x=green, R=red, r=green] |
o [o=red, x=green, R=red, r=green] |
725 |
|
|
726 |
o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
o *shortcut*: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
727 |
|
|
728 |
x web-based newsreader? twig! |
x web-based newsreader? twig! |
729 |
x apt-get install twig |
x apt-get install twig |
733 |
o viewcvs & apache-mod-python? |
o viewcvs & apache-mod-python? |
734 |
|
|
735 |
o home2web, .home2webrc |
o home2web, .home2webrc |
736 |
--before: buildhtml --source=pod|tavi |
o what? |
737 |
--after: say "ready" |
--before: buildhtml --source=pod|tavi |
738 |
|
--after: say "ready" |
739 |
|
o hmmm... |
740 |
|
o buildhtml: automate various SubTasks |
741 |
|
o synccvs (->cvs.nfo.perl.scripts.shortcuts.synccvs.pl) |
742 |
|
o buildhtml (->makedoc) (->cvs.nfo.perl.scripts.shortcuts.synccvs.pl) |
743 |
|
|
744 |
x added root of quepasa to cvs |
x added root of quepasa to cvs |
745 |
x su root |
x su root |
796 |
|
|
797 |
o search.php?wiki=1&cvs=1&index=1 |
o search.php?wiki=1&cvs=1&index=1 |
798 |
|
|
799 |
o get mnoGoSearch running |
x get mnoGoSearch running |
800 |
e apt-get install mnoGoSearch |
e apt-get install mnoGoSearch |
801 |
|
e apt-get install mnogosearch-common mnogosearch-doc mnogosearch-pgsql mnogosearch-php |
802 |
|
x apt-get install mnogosearch-common mnogosearch-php |
803 |
|
x don't overwrite configuration files |
804 |
|
x use 'crc-multi' |
805 |
|
x use 'postgres' |
806 |
|
x use 'mnogosearch' |
807 |
|
x apt-get install postgresql |
808 |
|
x use 'Enter default encoding (SQL_ASCII):' |
809 |
|
Success. You can now start the database server using: |
810 |
|
|
811 |
|
/usr/lib/postgresql/bin/postmaster -D /var/lib/postgres/data |
812 |
|
or |
813 |
|
/usr/lib/postgresql/bin/pg_ctl -D /var/lib/postgres/data -l logfile start |
814 |
|
|
815 |
|
PostgreSQL database now installed. |
816 |
|
Use /usr/bin/createdb to create a specific database and |
817 |
|
/usr/bin/createuser to enable other users to connect to a |
818 |
|
PostgreSQL database. |
819 |
|
|
820 |
|
In the first instance, these commands must be run by the |
821 |
|
user 'postgres'. |
822 |
|
|
823 |
|
Restarting PostgreSQL database: postmaster |
824 |
|
No /usr/lib/postgresql/bin/postmaster found running; none killed. |
825 |
|
Starting PostgreSQL postmaster. |
826 |
|
postmaster successfully started |
827 |
|
. |
828 |
|
Enabling the PL procedural language in all PostgreSQL databases... |
829 |
|
plpgsql added to template1 |
830 |
|
x apt-get install postgresql-dev |
831 |
|
e apt-get install libpostgresql |
832 |
|
x apt-get install libpgtcl |
833 |
|
x apt-get install mnogosearch-pgsql mnogosearch-pgsql-dev |
834 |
|
x dpkg-reconfigure mnogosearch-common |
835 |
|
|
836 |
|
|
837 |
|
|
838 |
|
|
839 |
o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done) |
o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done) |
840 |
|
|
1047 |
o link-checker for netfrag.org |
o link-checker for netfrag.org |
1048 |
|
|
1049 |
o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />? |
o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />? |
1050 |
|
o styleme.php |
1051 |
|
o brandme.php |
1052 |
|
|
1053 |
|
|
1054 |
|
|
1055 |
o mini-howto: "HttpRedirect" |
o mini-howto: "HttpRedirect" |
1056 |
|
|
1067 |
o look at YakkaDev! |
o look at YakkaDev! |
1068 |
|
|
1069 |
o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]! |
o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]! |
1070 |
|
o this could mean: |
1071 |
|
o use the declared formats as output filters for viewing target in other formats / styles |
1072 |
|
|
1073 |
o proposal for hierarchical structure (and HomePage) of netfrag.org |
o proposal for hierarchical structure (and HomePage) of netfrag.org |
1074 |
~overview -> SomeWiki -> Overview |
~overview -> SomeWiki -> Overview |
1090 |
-> DoThings -> ReadTasks -> DoTasks |
-> DoThings -> ReadTasks -> DoTasks |
1091 |
-> TheFourthBadThing: TimeTrackAllThis ;-) (it seems to be not so far away....) |
-> TheFourthBadThing: TimeTrackAllThis ;-) (it seems to be not so far away....) |
1092 |
|
|
1093 |
|
o what do we need / what do we do? |
1094 |
|
--- researcher |
1095 |
|
o OnlineReading |
1096 |
|
(o SelectItemsForDownload) <- want-to-have |
1097 |
|
(o DownloadItems) <- want-to-have |
1098 |
|
--- researcher |
1099 |
|
o OfflineReading |
1100 |
|
x ClumsyOfflineReading <- status-quo |
1101 |
|
(o NiceOfflineReading) <- want-to-have |
1102 |
|
(o OfflineArchiving) <- want-to-have |
1103 |
|
o OfflineEditing (text, html, pod, tavi) |
1104 |
|
o OnlinePublishing (<all - everything what has been rendered or archived offline>) |
1105 |
|
--- engine |
1106 |
|
o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz) |
1107 |
|
o OfflineRendering (html, text, pdf, chm) |
1108 |
|
--- reader |
1109 |
|
o OnlineReading (<everything that has been published>) |
1110 |
|
(o SelectItemsForDownload) <- want-to-have |
1111 |
|
(o DownloadItems) <- want-to-have |
1112 |
|
o OfflineReading (pdf, chm) |
1113 |
|
|
1114 |
|
o link to http://teamsonar.no-ip.com |
1115 |
|
|
1116 |
|
o mail announces to announce@netfrag.org |
1117 |
|
|
1118 |
|
o no symlinks in webroot anymore? use ApacheAliases? |
1119 |
|
|
1120 |
|
o MiniHowto: NfoLinkageSystem(->news.nfo.announce) |
1121 |
|
o this declaration could mean: |
1122 |
|
o UseResources: |
1123 |
|
o look up "NfoLinkageSystem" as subject in newsgroup "news.nfo.announce" on default newsserver |
1124 |
|
o RenderThisWay: |
1125 |
|
o embed into document - html3 |
1126 |
|
o embed into document - dhtml (ExpandTree, CollapseTree) |
1127 |
|
o LinkToIt (JumpToMechanism(->minihowto)) |
1128 |
|
|
1129 |
|
o php: appcontrol: reads .appcontrolrc-files recursively from directories and adds/removes users or sets passwords |
1130 |
|
according to specification in there |
1131 |
|
|
1132 |
|
o source-code parser which creates documentation with wiki techniques |
1133 |
|
o pod2tavi -> tavi2html |
1134 |
|
o phpDoc <- tavi-plugin? |
1135 |
|
|
1136 |
|
o integrate yakka and newsportal: |
1137 |
|
o make a yakka-page of embedded news-articles / threads / thread-parts (a NewsComposition) (->YakkaPageMetadata) |
1138 |
|
o article-sources |
1139 |
|
o all items from one news-server |
1140 |
|
o !!! from different news-servers !!! |
1141 |
|
o add a "CommentThis"-links to each item when rendering |
1142 |
|
o when user posts the answer on YakkaEditPage |
1143 |
|
o make yakka post to the article's associated news-server (read from YakkaItemMetadata) |
1144 |
|
o wait until new article is published, then ... |
1145 |
|
o ... add to NewsComposition (update YakkaPageMetadata) (->AsynchronousBackendDaemon) |
1146 |
|
o ... use/introduce a MetaItem "New" into YakkaPageMetadata (at TopLevel) |
1147 |
|
which shows NewItems(->self, ->live) per thread or newsgroup |
1148 |
|
|
1149 |
|
o download this and that - e.g.: |
1150 |
|
o phpMyadmin(->archive.software.phpMyAdmin) |
1151 |
|
o this requires 'archive.software' to have ... |
1152 |
|
o ... a ListSearchHandler (searches nodelist below 'archive.software' only) |
1153 |
|
o ... a RecursiveSearchHandler (searches nodelist below 'archive.software' and all subfolders recursively) |
1154 |
|
o make this available as a ResourceHandler via a DispatchRequest sitting at |
1155 |
|
o http://netfrag.org/archive/?base=software&search=phpMyAdmin |
1156 |
|
o http://archive.netfrag.org/ |
1157 |
|
|
1158 |
|
x rename newsgroup nfo.csm to nfo.caesar (Collaborative And Easy System Management) |
1159 |
|
x ctlinnd newgroup nfo.caesar |
1160 |
|
x /etc/init.d/inn stop |
1161 |
|
x cd /var/spool/news/nfo |
1162 |
|
x cp csm/* caesar/ |
1163 |
|
x cd caesar |
1164 |
|
(x movearticle ...) |
1165 |
|
o chown news.news * |
1166 |
|
o /usr/lib/news/bin/makehistory |
1167 |
|
x THIS FAILED! DON'T DO IT |
1168 |
|
|
1169 |
|
o MiniHowto: KerberizedSystem (->~jonen) |
1170 |
|
|
1171 |
|
o RefWords -> LookUpDb -> SearchDb |
1172 |
|
|
1173 |
|
x added first news-article which refers/references to another one in another newsgroup |
1174 |
|
<a href="http://news.netfrag.org/nfo.caesar/id/1">Requirement: LDAP For Aliases, Maps, And Classes</a> |
1175 |
|
o PARSER-TODO: RefactorThisLink |
1176 |
|
|
1177 |
|
o check out /usr/sbin/checksecurity - what's that? |
1178 |
|
x seems to come from /etc/cron.daily/standard |
1179 |
|
|
1180 |
|
o write mail to the KroupwareMailingList |
1181 |
|
|
1182 |
|
o ContentIndexer for netfrag.org which should provide a FullTextSearch over AllResources |
1183 |
|
|
1184 |
|
o run MakeDoc at interval at netfrag.org as ServiceUser |
1185 |
|
o implement first version of makedoc |
1186 |
|
o use mkDoc.bat (or similar) for that purpose |
1187 |
|
o extend: use 'makedoc.bat|.pl' from ->cvs.joko.TestArea.topics.authoring.DocBook |
1188 |
|
|
1189 |
|
o DispatchRequest to tie all together |
1190 |
|
o just make a ref from almost everything and see what comes in.... |
1191 |
|
o write handlers for the various refs.... |
1192 |
|
|
1193 |
|
o show foldername in CVSSpam - message |
1194 |
|
|
1195 |
|
o SoWhyCommands? |
1196 |
|
o JustUseHumanLanguage! |
1197 |
|
o StartWithEnglish |
1198 |
|
o TryGerman |
1199 |
|
|
1200 |
|
o wrappers around the common used cvs commands |
1201 |
|
o cvscheckout <what> |
1202 |
|
o cvsupdate <what> |
1203 |
|
o cvscommit <what> <message> |
1204 |
|
|
1205 |
|
o newsportal |
1206 |
|
feature-idea: crosspost to another group |
1207 |
|
|
1208 |
|
o FreeTaskManagement |
1209 |
|
|
1210 |
|
o run-dotfiles -R fetchdoc|synccvs|makedoc |
1211 |
|
|
1212 |
|
o netfrag.org: "NewItems" (interacting with user's cookie's) |
1213 |
|
|
1214 |
|
o phpLdapAdmin |
1215 |
|
o use Horde's Ldap-driver! |
1216 |
|
o tryout http://www.enaliath.com/phpLDAPadmin.tgz |
1217 |
|
|
1218 |
|
o david-addons (Freeware) |
1219 |
|
|
1220 |
|
o MacOsX (Shareware) |
1221 |
|
|
1222 |
|
o POE - mailing-list??? |
1223 |
|
|
1224 |
|
o publish all ldap-schemas seperately |
1225 |
|
|
1226 |
|
o copyright information for nfo/docs/schemas (horde & janosch) |
1227 |
|
|
1228 |
|
o notify of new news-entries / bug-requests |
1229 |
|
|
1230 |
|
o scan urls from channel nfo and post to nfo.links.misc |
1231 |
|
|
1232 |
|
o write current topic of #nfo to some page on http://netfrag.org and link to irc-channel there |
1233 |
|
|
1234 |
|
o FeatureForTUTOS: ConvertNoteToTask |
1235 |
|
|
1236 |
|
o FeatureForTUTOS: mark items in MiniTaskView as open or closed (by their respecrive state) |
1237 |
|
|
1238 |
|
|
1239 |
|
|
1240 |
|
|
1241 |
</pre> |
</pre> |