/[cvs]/joko/doc/SampleTasks/joko_2003-01.html
ViewVC logotype

Diff of /joko/doc/SampleTasks/joko_2003-01.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.47 by joko, Sat Jan 25 19:33:32 2003 UTC revision 1.75 by joko, Mon Jan 27 10:33:27 2003 UTC
# Line 1  Line 1 
1  <html>  <html>
2    <head>
3      <title>joko's sample notes - 2003-01 - InventoryCleanupAndRefactoring</title>
4      <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />
5    </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)
# Line 430  x configured Apache for serving news.net Line 462  x configured Apache for serving news.net
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
# Line 564  x new email-addresses@netfrag.org: Line 594  x new email-addresses@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  o rework apache-layout - check into repository as something root is responsible for!      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 NfoWeb  o NfoWeb
677    o add WikiPages:    o add WikiPages:
# Line 601  o viewcvs & yakka Line 699  o viewcvs & yakka
699  o IconForNetfrag.Org?  o IconForNetfrag.Org?
700    o fav.ico?    o fav.ico?
701        
702  x install viewcvs  x --*installed*|install-- viewcvs
703    x apt-get install viewcvs    x apt-get install viewcvs
704      x configured:      x configured:
705        x /var/lib/cvs        x /var/lib/cvs
# Line 612  x install viewcvs Line 710  x install viewcvs
710          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
711        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'
712    
713  o rendering proposals for TaviWorkflow  o rendering *proposals* for TaviWorkflow
714    o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks)    o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks)
715    o Coloring    o Coloring
716      o [o=red, x=green, R=red, r=green]      o [o=red, x=green, R=red, r=green]
717    
718  o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration)  o *shortcut*: TestApache to run 'apachectl configtest' (WikiForSystemAdministration)
719    
720  x web-based newsreader? twig!  x web-based newsreader? twig!
721    x apt-get install twig    x apt-get install twig
# Line 731  o dispatchrequest - a multipurpose reque Line 829  o dispatchrequest - a multipurpose reque
829      x ln -s /data/www/global/apps/dispatchrequest .      x ln -s /data/www/global/apps/dispatchrequest .
830            
831        
832  o buildhtml -> docmaker  o buildhtml -> makedoc
833    
834  o TWIG & yakka?  o TWIG & yakka?
835    
# Line 755  x setup TWIG Line 853  x setup TWIG
853          AddType application/x-httpd-php .php .php3          AddType application/x-httpd-php .php .php3
854      x /etc/init.d/apache reload      x /etc/init.d/apache reload
855      x cd /etc/twig      x cd /etc/twig
856        x        x modify config.inc.php3
857        x cd /usr/share/twig/setup
858          x mysql
859            x use mysql
860            x insert into user (host, user, password) values ('localhost', 'www-data', password(''));
861            x insert into db values ('localhost', 'twig', 'www-data', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
862            x create database twig;
863            x flush privileges;
864          x database-schema
865            x gunzip twig.table.mysql.gz
866            x mysql twig < twig.table.mysql
867            
868    x setup arbitrary packet and bind to csm-system (Collaborative Software Management)
869      x pinstall twig
870        x apt-get install twig
871        x cd /etc
872        x cvs add twig
873        x cd twig
874        x cvs add *
875        x cvs add .htaccess
876        x cvs commit -m "+ initial commit"
877      
878    
879  o remove html from phpWiki: ('http://'!!!) (->https!!!)  o remove html from phpWiki: ('http://'!!!) (->https!!!)
880    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
# Line 767  o force https for: (authentication purpo Line 886  o force https for: (authentication purpo
886    o horde    o horde
887    o tutos    o tutos
888        
889    x dpkg -x twig_2.7.5-4_all.deb tmp/
890    
891    o TWIG & OpenLDAP!?
892    
893    x ApacheMasterLayoutRefactoring: quepasa.netfrag.org:
894      x removed /data/www/doc to /data/www/global/apps
895        x test:
896          x cd /data/www/virtual
897          x grep -ri "/data/www/doc" *
898          x cd /data/www/global
899            x grep -ri "/data/www/doc" *
900            x apps/twiki/
901              x lib/TWiki.cfg
902              x bin/.htaccess
903            x conf/twiki-httpd
904              ---> just change between 'global' and (e.g.) 'virtual/netfrag' for switching between scopes   ;-)
905              ---> the container (folder)-structure at global and sub-virtual level must match almost exactly to make this possible!!!!!
906            x conf/virtualdomains-httpd/
907            x doc/twiki/
908      x removed: /data/www/virtual/netfrag/pub to /data/www/virtual/netfrag/sites/public
909        x cd virtual/netfrag/conf
910          x grep -ri "/pub" *
911            x modify httpd.conf and applications.conf
912      x apachectl configtest
913        Syntax error on line 345 of /etc/apache/httpd.conf:
914        DocumentRoot must be a directory
915        x disabled there completely
916        x now in /data/www/global/conf/httpd.conf
917          DocumentRoot /data/www/virtual/netfrag/sites/public
918      x apachectl configtest
919        fopen: No such file or directory
920        apache: could not open document config file /data/www/conf/twiki-httpd.conf
921        x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/
922        x nano /data/www/virtual/netfrag/conf/applications.conf to match new path
923      x apachectl configtest
924        fopen: No such file or directory
925        apache: could not open document config file /data/www/conf/tutos-httpd.conf
926        x cd virtual/netfrag
927        x grep -rin "www/conf" *
928        x edit applications.conf:21
929          x was: Include /data/www/conf/tutos-httpd.conf
930          x is: Include /data/www/global/conf/tutos-httpd.conf
931      x apachectl configtest
932        Warning: DocumentRoot [/data/www/virtual/netfrag/sites/webnews] does not exist
933        fopen: No such file or directory
934        apache: could not open document config file /data/www/conf/dynamic.conf
935        x grep -rin webnews *
936          x edit applications.conf:30
937            x was: Alias /webnews/ /data/www/global/apps/newsportal/
938            x is: Alias /webnews/ /data/www/global/apps/newsportal/
939          x edit httpd.conf:74
940            x was: DocumentRoot /data/www/virtual/netfrag/sites/webnews
941            x is: DocumentRoot /data/www/virtual/netfrag/sites/news
942         x cd global/conf
943         x grep -rin www/conf *
944          x STDOUT-PARSE:
945            httpd.conf:14:#Include /data/www/conf/httpd-php-perl.conf
946            httpd.conf:16:#Include /data/www/conf/virtualdomains-httpd.conf
947            httpd.conf:29:Include /data/www/conf/dynamic.conf
948              ->FILE-MODIFY: httpd.conf:29:Include /data/www/global/conf/dynamic.conf
949      x apachectl configtest
950          root@quepasa:/data/www/global/conf# apachectl configtest
951          configuring dynamic domain "golf5.de"
952          configuring dynamic domain "smartmen.de"
953          configuring dynamic domain "ballonflug.de"
954          Syntax OK
955      x /etc/init.d/apache restart
956      x testing "http://netfrag.org/" fails
957      x testing "http://netfrag.org/index.php"
958        x makes redirect to "http://netfrag.org/nfoweb/" but fails there
959      x tail -f tail -f /data/www/virtual/netfrag/log/error_log
960        [Sun Jan 26 15:32:04 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
961        [Sun Jan 26 15:33:02 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
962        [Sun Jan 26 16:37:37 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
963        [Sun Jan 26 16:38:08 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
964        [Sun Jan 26 16:40:10 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
965    
966    
967    o register:
968      public.netfrag.org -> http://netfrag.org
969      secure.netfrag.org -> https://netfrag.org
970      
971    o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/!
972    o netfrag.org: DispatchRequest for http://netfrag.org/rrr/!
973    
974    o IntroduceMergePoint at http://netfrag.org/doc/
975      o MiniHowto
976      o faqs (e.g. from news://news.netfrag.org/nfo.faq.users
977    
978    o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or
979      o an AUTOCOMMIT on that very event (maybe integrated with a counter)
980      
981    o write scripts to iterate recursively through directories under specified path ...
982      o ... and do some actions on each directory, e.g.
983      o execute some specified .dot-files (e.g. .pod2htmlrc, .symlinkrc, .makedocrc)
984      
985    x CVSSpam in action:
986      10146 ?        S      0:00 /usr/sbin/sshd
987      10148 ?        S      0:00 /usr/sbin/sshd
988      10149 ?        S      0:00 cvs server
989      10150 ?        S      0:00 cvs server
990      10151 ?        S      0:00 /bin/login
991      10155 ?        S      0:00 /usr/bin/ruby -w /var/lib/cvs/CVSROOT/collect_diffs.rb --to joko@netfrag
992      10158 ?        S      0:00 /usr/bin/ruby /var/lib/cvs/CVSROOT/cvsspam.rb /tmp/#cvs.loginfo.10149.10
993      
994    x as Chora'sStylesheet has come active (by accident) when viewing this file view web
995       we should include this as a fixed default making horde our default stylesheet delivery engine (for now)
996    
997    o link-checker for netfrag.org
998    
999    o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />?
1000      o styleme.php
1001      o brandme.php
1002      
1003    
1004    
1005    o mini-howto: "HttpRedirect"
1006    
1007    o how to refactor the MiniHowtos?
1008      o into a wiki? wikis seem to miss offline/distributed capabilities! (for now)
1009      x into pod
1010        x build offline
1011        o build online
1012      o into DocBook?
1013      o into tavi? (or "TaviWorkflow"?)
1014      o but: LinkWithWikiAutomagically to get everything together
1015        o look at the InterwikiMechanism
1016        o look at the various WikiPluginArchitectures
1017        o look at YakkaDev!
1018    
1019    o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]!
1020      o this could mean:
1021        o use the declared formats as output filters for viewing target in other formats / styles
1022    
1023    o proposal for hierarchical structure (and HomePage) of netfrag.org
1024      ~overview -> SomeWiki -> Overview
1025        ~projects (include some common text here)
1026        ~users (include some common text here)
1027          - Page: UserArea
1028          - Page: ~users
1029      ~projects -> SomeWiki-> Projects
1030      ~users (include former page "User area" (now UserArea) automagically at the bottom here! (WikiInclude?))
1031        ~rabit (raBit's router - psl.no-ip.com)
1032        ~natraj (sam's place - optix)
1033        ~joko (joko's)
1034        ~bareface (->yakka)
1035    
1036    o MasterWorkflow:
1037      -> TheThreeGoodThings
1038        -> HaveIdea -> WriteDown (RefactorLater) -> WriteDownMore -> WriteDownAssociations -> WriteDownEvenMoreIfNotStoppedByExternalInfluences
1039        -> RefactorIdeas -> Categorize -> AddNotes -> AddTasks
1040        -> DoThings -> ReadTasks -> DoTasks
1041      -> TheFourthBadThing: TimeTrackAllThis  ;-)  (it seems to be not so far away....)
1042    
1043    o what do we need / what do we do?
1044      --- researcher
1045        o OnlineReading
1046        (o SelectItemsForDownload)  <- want-to-have
1047        (o DownloadItems)  <- want-to-have
1048      --- researcher
1049        o OfflineReading
1050        x ClumsyOfflineReading  <- status-quo
1051          (o NiceOfflineReading)  <- want-to-have
1052          (o OfflineArchiving)  <- want-to-have
1053        o OfflineEditing (text, html, pod, tavi)
1054        o OnlinePublishing (<all - everything what has been rendered or archived offline>)
1055      --- engine
1056        o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz)
1057          o OfflineRendering (html, text, pdf, chm)
1058      --- reader
1059        o OnlineReading (<everything that has been published>)
1060        (o SelectItemsForDownload)  <- want-to-have
1061        (o DownloadItems)  <- want-to-have
1062        o OfflineReading (pdf, chm)
1063    
1064    o link to http://teamsonar.no-ip.com
1065    
1066    o mail announces to announce@netfrag.org
1067    
1068    o no symlinks in webroot anymore? use ApacheAliases?
1069    
1070    o MiniHowto: NfoLinkageSystem(->news.nfo.announce)
1071      o this declaration could mean:
1072        o UseResources:
1073          o look up "NfoLinkageSystem" as subject in newsgroup "news.nfo.announce" on default newsserver
1074        o RenderThisWay:
1075          o embed into document - html3
1076          o embed into document - dhtml (ExpandTree, CollapseTree)
1077          o LinkToIt (JumpToMechanism(->minihowto))
1078    
1079    o php: appcontrol: reads .appcontrolrc-files recursively from directories and adds/removes users or sets passwords
1080        according to specification in there
1081    
1082    o source-code parser which creates documentation with wiki techniques
1083      o pod2tavi -> tavi2html
1084      o phpDoc <- tavi-plugin?
1085    
1086    o integrate yakka and newsportal:
1087      o make a yakka-page of embedded news-articles / threads / thread-parts (a NewsComposition) (->YakkaPageMetadata)
1088        o article-sources
1089          o all items from one news-server
1090          o !!! from different news-servers !!!
1091        o add a "CommentThis"-links to each item when rendering
1092        o when user posts the answer on YakkaEditPage
1093          o make yakka post to the article's associated news-server (read from YakkaItemMetadata)
1094          o wait until new article is published, then ...
1095            o ... add to NewsComposition (update YakkaPageMetadata) (->AsynchronousBackendDaemon)
1096            o ... use/introduce a MetaItem "New" into YakkaPageMetadata (at TopLevel)
1097              which shows NewItems(->self, ->live) per thread or newsgroup
1098      
1099    o download this and that - e.g.:
1100      o phpMyadmin(->archive.software.phpMyAdmin)
1101        o this requires 'archive.software' to have ...
1102          o ... a ListSearchHandler (searches nodelist below 'archive.software' only)
1103          o ... a RecursiveSearchHandler (searches nodelist below 'archive.software' and all subfolders recursively)
1104          o make this available as a ResourceHandler via a DispatchRequest sitting at
1105            o http://netfrag.org/archive/?base=software&search=phpMyAdmin
1106            o http://archive.netfrag.org/
1107    
1108    x rename newsgroup nfo.csm to nfo.caesar (Collaborative And Easy System Management)
1109      x ctlinnd newgroup nfo.caesar
1110      x /etc/init.d/inn stop
1111      x cd /var/spool/news/nfo
1112      x cp csm/* caesar/
1113      x cd caesar
1114      (x movearticle ...)
1115      o chown news.news *
1116      o /usr/lib/news/bin/makehistory
1117      x THIS FAILED! DON'T DO IT
1118      
1119    o MiniHowto: KerberizedSystem (->~jonen)
1120    
1121    o RefWords -> LookUpDb -> SearchDb
1122    
1123    x added first news-article which refers/references to another one in another newsgroup
1124       <a href="http://news.netfrag.org/nfo.caesar/id/1">Requirement: LDAP For Aliases, Maps, And Classes</a>
1125       o PARSER-TODO: RefactorThisLink
1126    
1127    o check out /usr/sbin/checksecurity - what's that?
1128      x seems to come from /etc/cron.daily/standard
1129      
1130    o write mail to the kroupware - mailing-list
1131    
1132    o ContentIndexer for netfrag.org which should provide a FullTextSearch over AllResources
1133    
1134    o run MakeDoc at interval at netfrag.org as ServiceUser
1135      o implement first version of makedoc
1136      o use mkDoc.bat (or similar) for that purpose
1137      o extend: use 'makedoc.bat|.pl' from ->cvs.joko.TestArea.topics.authoring.DocBook
1138    
1139    o DispatchRequest to tie all together
1140      o just make a ref from almost everything and see what comes in....
1141      o write handlers for the various refs....
1142      
1143    o show foldername in CVSSpam - message
1144    
1145    
1146    
1147  </pre>  </pre>

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.75

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed