/[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.15 by joko, Fri Jan 24 07:18:25 2003 UTC revision 1.98 by joko, Wed Jan 29 23:04:44 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 354  o new user "gateway": Line 386  o new user "gateway":
386    x mkdir /var/lib/cvs/gateway    x mkdir /var/lib/cvs/gateway
387    x chown -R gateway.gateway /var/lib/cvs/gateway    x chown -R gateway.gateway /var/lib/cvs/gateway
388    x su gateway    x su gateway
389      x cvs -d /var/lib/cvs checkout -d ~ gateway
390      
391    x error on quepasa:
392        Jan 24 19:00:09 quepasa sm-mta[17960]: STARTTLS=server, relay=pD9E77B39.dip.t-dialin.net [217.231.123.57], version=TLSv1/SSLv3, verify=NO, cipher=RC4-MD5, bits=128/128
393        Jan 24 19:00:09 quepasa sm-mta[17960]: h0OI081D017960: ruleset=check_rcpt, arg1=<janosch@ultrajan.de>, relay=pD9E77B39.dip.t-dialin.net [217.231.123.57], reject=550 5.7.1 <janosch@ultrajan.de>... Relaying denied. Proper authentication required.
394      x add to /etc/mail/default-auth-info
395        sendmail
396        sendmail
397        sendmailpwd
398        quepasa.netfrag.org
399      x /etc/init.d/sendmail restart
400    
401    o Torus::Publish::Research::Web
402       o googling for something automagically opens a new task
403       o all links directly or indirectly coming out of this are sorted below this task
404       o the user can end this task on demand: timetracking is done automagically as well
405      
406    o register tutos.netfrag.org
407    
408    o qpopper with tls, sasl and kerberos5?
409    
410    o off realtime! the only thing that happens at realtime is MailMiltering.
411       x cvs checkout of joko/doc is done via cron
412       x mail2news-dispatching is now done via cron (would be possible "in realtime" via '.forward'ing the mail *directly* to dispatchmail)
413    
414    o ctlinnd newgroup nfo.csm (Collaborative System Management)
415    
416    o make possible:
417      o after "cvs update" make question: "Found new items in "" while scanning. Should i add them to the repository?"
418      o drag & drop arbitrary items out of outlook (.msg, .nws, etc.) - search for them while scanning the fs and sync them
419         against *original* source. (e.g. 'Message-ID: <b0s5v9$j7d$1@quepasa.netfrag.org>')
420    
421    x CVSSpam -> nfo.log.cvs
422      x su root
423      x cd /etc/mail
424      x nano virtusertable
425      x add line:
426        x cvs-log@netfrag.org             gateway
427      x make virtusertable
428      x su gateway
429    x cd ~    x cd ~
430    x cvs -d /var/lib/cvs checkout -d . gateway    x nano .dispatchmailrc
431        x add lines:
432          $self->copy('Newsgate', 'nfo.log.cvs')
433            if $to =~ m/cvs-log/;
434      x exit   (to logout)
435      x cvs update CVSROOT/loginfo
436      x add to CVSROOT/loginfo (to the end of the line starting with '^nfo '):
437        --to cvs-log@netfrag.org
438      x cvs commit -m "+ added new notification target: 'cvs-log@netfrag.org'" CVSROOT/loginfo
439      x tested with some mini-howto
440      x removed '--to joko@netfrag.org --to jonen@netfrag.org --to bareface@netfrag.org --to janosch@netfrag.org '
441         from CVSROOT/loginfo for module 'nfo'
442      x announce this
443        x added to '/etc/news/nnrp.access':
444          *:Read Post:bareface:bareface:*
445        x /etc/init.d/inn reload
446    
447    x add 'gateways'-repository to chora
448      x nano /data/www/doc/horde/chora/config/cvsroots.php
449      x add lines:
450        # 2003-01-24, joko
451        $cvsroots['gateway'] = array(
452            'name' => 'gateway',
453            'location' => '/var/lib/cvs/gateway',
454            'title' => "$titlePrefix gateway's CVS Repository",
455            'cvsusers' => $cvsusers,
456        );
457    
458    x configured Apache for serving news.netfrag.org
459       x cleaned up /data/www/virtual/netfrag/conf/httpd.conf
460          x ./test.conf
461          x comments
462       x /etc/init.d/apache reload
463       x test: http://news.netfrag.org/
464      
465    o new module for cvs-repository?
466       o nfo/layouts/fs/skel/data2
467       o checkout to /data on quepasa.netfrag.org
468       x done:
469          x su root
470          x cd /var/lib/cvs
471          x mkdir -p nfo/layouts/fs/skel/data
472          x mkdir -p nfo/layouts/fs/skel/data2
473          x mkdir -p nfo/hosts/quepasa.netfrag.org/data
474          x cvs -d /var/lib/cvs checkout -d /data nfo/hosts/quepasa.netfrag.org/data
475            x *mungle everything and commit!*  look at the repository!
476          x add special group with access to this repository: 'rootsrc'
477            x groupadd rootsrc
478            x usermod -G src,staff,rootsrc joko
479            x usermod -G src,staff,rootsrc jonen
480            x usermod -G rootsrc root
481            x change permissions
482              x cd /var/lib/cvs/nfo/
483              x chown -R .rootsrc hosts
484              x chmod -R g+w hosts
485    
486        
487    x add to system-conf-repository:
488      x /etc/mail
489      x php: cvs-redirect
490      x
491        
492    o extend WCron
493       x show (per-task) if it's currently running or not: provide buttons to (start, stop, pause, resume or cancel a task...)
494       x use as a frontend for administering nfo/libs/perl/ - backend - tasks(???)
495      
496    x install Horde/Troll
497       x install troll
498         x cd /home/service/download
499         x mkdir horde
500         x cd horde
501         x wget ftp://ftp.horde.org/pub/troll/troll-0.0.2.tar.gz
502         x tar -xzf troll-0.0.2.tar.gz --directory=/data/www/doc/horde/
503       x configure horde
504         x cd /data/www/doc/horde/
505         x nano config/registry.php
506            x add lines:
507             $this->applications['troll'] = array(
508                 'fileroot' => dirname(__FILE__) . '/../troll',
509                 'webroot' => $this->applications['horde']['webroot'] . '/troll',
510                 'icon' => $this->applications['horde']['webroot'] . '/troll/graphics/troll.gif',
511                 'name' => _("News"),
512                 'allow_guests' => true,
513                 'show' => true
514             );
515          x configure Troll
516            x cd troll/config
517            x conf.php
518              x cp conf.php.dist conf.php
519              x nano conf.php
520              x edit:
521                x $conf['news']['server'] = 'news.netfrag.org';
522                x $conf['news']['mailserver'] = 'mail.netfrag.org';
523            x servers.php
524              x cp servers.php.dist servers.php
525              x add:
526                $servers['netfrag.org'] = array(
527                    'name' => 'news.netfrag.org',
528                    'server' => 'news.netfrag.org',
529                    'port' => 119,
530                );
531            x prefs.php
532              x cp prefs.php.dist prefs.php
533            x html.php
534              x cp html.php.dist html.php
535            x permissions
536              x chmod o+r *.php
537              
538            
539          x test: http://netfrag.org/horde/
540            o another (more bright) skin for horde@netfrag.org!!!
541            
542    o Warum nicht überall Horde? Sondern TUTOS?
543       o Horde ist sehr breit angelegt, dafür fehlt es jedoch an vielen Stellen noch ein wenig im Detail.
544       o mittlerweile: mit Hermes & Co.? nochmal ansehen!
545    
546    o just do automated operations (like cvs commit) only if system is idle
547    
548    o automagically redirect http://netfrag.org/horde/ to https://netfrag.org/horde/
549      o with an Apache - rewrite-rule?
550      
551    x how to map TUTOS-groups to newsgroups?
552      x ctlinnd newgroup nfo.tutos.sysadmin
553      x add dispatching for sysadmin@netfrag.org
554        x add to /home/service/virtual/gateway/.dispatchmailrc
555          $self->copy('Newsgate', 'nfo.tutos.sysadmin') if $to =~ m/sysadmin/;
556        x add to /etc/mail/virtusertable:
557          # --- news.netfrag.org - joko, 2003-01-24
558          sysadmin@netfrag.org            gateway
559          make virtusertable!
560        x write welcome-mail
561          root@quepasa:~$ mail sysadmin@netfrag.org
562          Subject: Welcome to the sysadmin-newsgroup at netfrag.org!
563          Have fun!
564          greets, joko.
565          
566          .
567          Cc:
568        x test: do "refresh newsgroups" at your favourite news-reader
569      x this has been refactored to: <a href="http://news.netfrag.org/nfo.tutos.sysadmin/id/b0shbj$l9s$1@quepasa.netfrag.org">[news:id=b0shbj$l9s$1@quepasa.netfrag.org]</a>
570        x HEADERS:
571          x Message-ID: <b0shbj$l9s$1@quepasa.netfrag.org>
572          x Subject: Re: Welcome to the sysadmin-newsgroup at netfrag.org!
573        o newsgate
574          o http://news.netfrag.org/nfo.tutos.sysadmin/id/b0shbj$l9s$1@quepasa.netfrag.org
575          o http://news.netfrag.org/nfo.tutos.sysadmin/subject/Re: Welcome to the sysadmin-newsgroup at netfrag.org!
576    
577    o Erkenntnis aus UML (Kernel 2.4): schwierig mit gleichzeitigem Zugriff
578    
579    o gave up trying to get Troll running
580    
581    x setup alternatives to Horde for public access
582      o viewcvs
583        x apt-get install libapache-mod-python
584        
585      o WebNewsViewer
586      
587    o release the user from having to send email-messages to actually post urls with content (e.g. "FirstPage")
588    
589    o parse .url-files!
590    
591    o have newsgroup-structure backed in ldap-container (ou) somehow (Data::Map!)
592    
593    x new email-addresses@netfrag.org:
594      x sysadmin@netfrag.org
595      x faq@netfrag.org
596      
597    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/
601      x cd /home/service/download
602      x mkdir newsportal
603      x cd newsportal
604      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/
606      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    x NfoWeb
677      o add WikiPages:
678        o Overview
679          o News
680            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)
690      o modify HomePage
691        o change Projects to Overview
692    
693    o yakka & pod
694      o convert pod to tavi
695        o perl first (pod2tavi)
696        o php afterwards (pod2tavi-php)
697        o then refactor to a YakkaPlugin (an "input-filter"?) ('yakka-filter-pod'?)
698      o address "files" outside the normal/configured default YakkaRepository
699        o introduce: "ExplicitAddressingOfArbitraryTargets"
700          o via HttpHeader (GET/POST) (HtmlUrlArgument, HtmlFormField)
701        o introduce "YakkaContainers": aim: group a bunch of targets/items together as a kind of "MetaRepository"
702    
703    o viewcvs & yakka
704      o a filesystem-adapter for yakka's storage-handler-system
705      o show "view in yakka" if document-type eq 'tavi|tavi,v|pod'
706    
707    o IconForNetfrag.Org?
708      o fav.ico?
709      
710    x --*installed*|install-- viewcvs
711      x apt-get install viewcvs
712        x configured:
713          x /var/lib/cvs
714          x email-address (new): cvs-admin@netfrag.org  ->  dev@netfrag.org
715          x no forbidden modules (do this via unix permissions!)
716          x allow tarball generation? yes!
717          x Hint: add "Alias /viewcvs/ /usr/share/viewcvs/" to /etc/apache/conf/httpd.conf for online documents and icons
718            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'
720    
721    o rendering *proposals* for TaviWorkflow
722      o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks)
723      o Coloring
724        o [o=red, x=green, R=red, r=green]
725    
726    o *shortcut*: TestApache to run 'apachectl configtest' (WikiForSystemAdministration)
727    
728    x web-based newsreader? twig!
729      x apt-get install twig
730      
731    o shutdown horde (for now: "pause")
732    
733    o viewcvs & apache-mod-python?
734    
735    o home2web, .home2webrc
736      o what?
737        --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
745      x su root
746      x cd /var/lib/cvs/nfo/hosts/quepasa.netfrag.org
747      x mkdir root
748        x chown -R .rootsrc root/
749        x chmod -R g+w root/
750      x cd /tmp
751      x cvs -d /var/lib/cvs checkout -d / nfo/hosts/quepasa.netfrag.org/root
752      x start with /etc
753        x cd /etc
754        x cvs add etc
755        x cvs add viewcvs
756          x cd viewcvs
757          x cvs add ....
758          x cvs commit -m "+ initial commit"
759    
760    x How to get a single file from cvs for download: (e.g.)
761       wget http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/viewcvs/viewcvs/templates/header.ezt?rev=1.2
762    
763    x cvsgraph still missing: apt-get install cvsgraph
764    
765    x chora -> viewcvs
766      o change logo at /usr/share/viewcvs/images
767      x removed from template
768      x cvsview-query.cgi didn't work yet!
769        x error was:
770          x tail -f /data/www/virtual/netfrag/log/error_log
771          Traceback (most recent call last):
772            File "/usr/lib/cgi-bin/viewcvs-query.cgi", line 50, in ?
773              import query
774            File "/usr/lib/python2.1/viewcvs/query.py", line 42, in ?
775              import cvsdb
776            File "/usr/lib/python2.1/viewcvs/cvsdb.py", line 34, in ?
777              import dbi
778            File "/usr/lib/python2.1/viewcvs/dbi.py", line 17, in ?
779              import MySQLdb
780          ImportError: No module named MySQLdb
781          [Sat Jan 25 11:16:55 2003] [error] [client 217.231.127.85] Premature end of script headers: /usr/lib/cgi-bin/viewcvs-query.cgi
782        x solution is:      
783          x apt-get install python-mysqldb
784        x use mysql;
785          x insert into db values ('localhost', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
786          x insert into db values ('%', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
787          x insert into user (host, user, password) values ('localhost', 'viewcvs', password('viewcvs'));
788          x flush privileges;
789        x cd /usr/lib/viewcvs
790        x ./make-database
791      x
792      o mail to author of viewcvs
793        
794    
795    o docu about uml and filesystem-layer running on gharb for MiniHowTo?
796    
797    o search.php?wiki=1&cvs=1&index=1
798    
799    x get mnoGoSearch running
800      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      e apt-get install libpgtcl
833      x apt-get install mnogosearch-pgsql mnogosearch-pgsql-dev
834      x dpkg-reconfigure mnogosearch-common
835      x su postgres
836      x /usr/lib/postgresql/bin/createuser mnogosearch
837      x /usr/lib/postgresql/bin/createdb mnogosearch
838      
839      x changed to "mysql" in /etc/mnogosearch/indexer.conf and
840        e deployed schemas at /usr/share/doc/mnogosearch-common/create/mysql/
841          x mysql -e "insert into user (host, user, password) values ('localhost', 'mnogosearch', password('mno123'));" mysql
842          c mysql -e "insert into user (host, user, password) values ('%', 'mnogosearch', password('mno123'));" mysql
843          x mysql -e "insert into db values ('localhost', 'mnogosearch', 'mnogosearch', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');" mysql
844          x mysql -e "create database mnogosearch;"
845          x cd /usr/share/doc/mnogosearch-common/create/mysql/
846          x mysql mnogosearch < categories.txt
847          x mysql mnogosearch < crc-multi.txt
848        x deployed schemas at /usr/share/doc/mnogosearch-common/create/pgsql/
849          x psql -U mnogosearch mnogosearch < create.txt
850          x ...
851        x added to /data/www/virtual/netfrag/conf/applications.conf
852          php_value include_path /usr/share/mnogosearch-php:/etc/mnogosearch-php
853          Alias /search/ /var/www/search.php
854        x apt-get install php4-pgsql
855        
856        x !!! jonen made mysql-mode apts for mnogosearch-common_3.2.6-2.SU.1_all.deb !!!
857          use them: [...]  ->archive:/path/to/debs
858        
859    
860    o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done)
861    
862    o ScanToWeb
863    
864    o look at Mailman: http://www.list.org/features.html
865    
866    o use cvsup!?
867    
868    o alien.netfrag.org - (package-conversion)  --> alien.packages.netfrag.org
869    
870    o chora2viewcvs - How to migrate from Horde/Chora to viewcvs.
871    
872    o LinuxInCvs (linux2cvs)
873    
874    o TestApacheConfig, StopApache, StartApache have to work without any running Apache - of course!
875    
876    o through "viewcvs" we loose the ability to "publish" documents via former chora:
877       viewcvs takes care to keep documents like they are in their original - so ".html"-files should be shown with text/plain
878    
879    o re-integrate .cvslink/JumpToCvs with dispatchurl
880    
881    o WikiWords in CvsCommitMessages? (via yakka?)
882    
883    x http://cvs.netfrag.org/bareface/yakka/?tarball=1
884    
885    o [source:/link/to/source-code]   (most times a '.cvslink' - hmmm?)
886       [source:<projectname>]
887    
888    o HelpMe
889    
890    o [snapshot:/link/to/snapshot]
891       [snapshot:<projectname>]
892    
893    o dispatchrequest - a multipurpose request dispatcher
894      o integrate:
895        x redirector at cvs.netfrag.org ...
896        o ... and news.netfrag.org
897      o JumpToCvs (.cvslink-mechanism)
898      o how was it done?
899        x cd /data/www/virtual/netfrag/sites/webcvs/.dispatch
900        x ln -s /data/www/global/apps/dispatchrequest .
901        
902      
903    o buildhtml -> makedoc
904    
905    o TWIG & yakka?
906    
907    o rename: dispatchmail -> dispatchmessage
908    
909    c rename: dispatchrequest -> forwardrequest?
910    
911    o readrc of bashrc|perlrc|xmlrc
912    
913    x setup TWIG
914      x cd /usr/share/doc/twig
915      x cd /data/www/virtual/netfrag/conf/
916      x nano applications.conf
917      x add line: Alias /twig/ /usr/share/twig/
918      x had to modify /etc/apache/conf/httpd.conf:
919        x added: 'index.php3'
920            <IfModule mod_dir.c>
921                DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3
922            </IfModule>
923        x added: '.php3'
924            AddType application/x-httpd-php .php .php3
925        x /etc/init.d/apache reload
926        x cd /etc/twig
927          x modify config.inc.php3
928        x cd /usr/share/twig/setup
929          x mysql
930            x use mysql
931            x insert into user (host, user, password) values ('localhost', 'www-data', password(''));
932            x insert into db values ('localhost', 'twig', 'www-data', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
933            x create database twig;
934            x flush privileges;
935          x database-schema
936            x gunzip twig.table.mysql.gz
937            x mysql twig < twig.table.mysql
938            
939    x setup arbitrary packet and bind to csm-system (Collaborative Software Management)
940      x pinstall twig
941        x apt-get install twig
942        x cd /etc
943        x cvs add twig
944        x cd twig
945        x cvs add *
946        x cvs add .htaccess
947        x cvs commit -m "+ initial commit"
948      
949    
950    o remove html from phpWiki: ('http://'!!!) (->https!!!)
951      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
952        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
953      <link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
954      <link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.sourceforge.net/phpwiki/ThePhpWikiProgrammingTeam" />
955    
956    o force https for: (authentication purposes - anonymous is http!)
957      o horde
958      o tutos
959      
960    x dpkg -x twig_2.7.5-4_all.deb tmp/
961    
962    o TWIG & OpenLDAP!?
963    
964    x ApacheMasterLayoutRefactoring: quepasa.netfrag.org:
965      x removed /data/www/doc to /data/www/global/apps
966        x test:
967          x cd /data/www/virtual
968          x grep -ri "/data/www/doc" *
969          x cd /data/www/global
970            x grep -ri "/data/www/doc" *
971            x apps/twiki/
972              x lib/TWiki.cfg
973              x bin/.htaccess
974            x conf/twiki-httpd
975              ---> just change between 'global' and (e.g.) 'virtual/netfrag' for switching between scopes   ;-)
976              ---> the container (folder)-structure at global and sub-virtual level must match almost exactly to make this possible!!!!!
977            x conf/virtualdomains-httpd/
978            x doc/twiki/
979      x removed: /data/www/virtual/netfrag/pub to /data/www/virtual/netfrag/sites/public
980        x cd virtual/netfrag/conf
981          x grep -ri "/pub" *
982            x modify httpd.conf and applications.conf
983      x apachectl configtest
984        Syntax error on line 345 of /etc/apache/httpd.conf:
985        DocumentRoot must be a directory
986        x disabled there completely
987        x now in /data/www/global/conf/httpd.conf
988          DocumentRoot /data/www/virtual/netfrag/sites/public
989      x apachectl configtest
990        fopen: No such file or directory
991        apache: could not open document config file /data/www/conf/twiki-httpd.conf
992        x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/
993        x nano /data/www/virtual/netfrag/conf/applications.conf to match new path
994      x apachectl configtest
995        fopen: No such file or directory
996        apache: could not open document config file /data/www/conf/tutos-httpd.conf
997        x cd virtual/netfrag
998        x grep -rin "www/conf" *
999        x edit applications.conf:21
1000          x was: Include /data/www/conf/tutos-httpd.conf
1001          x is: Include /data/www/global/conf/tutos-httpd.conf
1002      x apachectl configtest
1003        Warning: DocumentRoot [/data/www/virtual/netfrag/sites/webnews] does not exist
1004        fopen: No such file or directory
1005        apache: could not open document config file /data/www/conf/dynamic.conf
1006        x grep -rin webnews *
1007          x edit applications.conf:30
1008            x was: Alias /webnews/ /data/www/global/apps/newsportal/
1009            x is: Alias /webnews/ /data/www/global/apps/newsportal/
1010          x edit httpd.conf:74
1011            x was: DocumentRoot /data/www/virtual/netfrag/sites/webnews
1012            x is: DocumentRoot /data/www/virtual/netfrag/sites/news
1013         x cd global/conf
1014         x grep -rin www/conf *
1015          x STDOUT-PARSE:
1016            httpd.conf:14:#Include /data/www/conf/httpd-php-perl.conf
1017            httpd.conf:16:#Include /data/www/conf/virtualdomains-httpd.conf
1018            httpd.conf:29:Include /data/www/conf/dynamic.conf
1019              ->FILE-MODIFY: httpd.conf:29:Include /data/www/global/conf/dynamic.conf
1020      x apachectl configtest
1021          root@quepasa:/data/www/global/conf# apachectl configtest
1022          configuring dynamic domain "golf5.de"
1023          configuring dynamic domain "smartmen.de"
1024          configuring dynamic domain "ballonflug.de"
1025          Syntax OK
1026      x /etc/init.d/apache restart
1027      x testing "http://netfrag.org/" fails
1028      x testing "http://netfrag.org/index.php"
1029        x makes redirect to "http://netfrag.org/nfoweb/" but fails there
1030      x tail -f tail -f /data/www/virtual/netfrag/log/error_log
1031        [Sun Jan 26 15:32:04 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
1032        [Sun Jan 26 15:33:02 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
1033        [Sun Jan 26 16:37:37 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
1034        [Sun Jan 26 16:38:08 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
1035        [Sun Jan 26 16:40:10 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
1036    
1037    
1038    o register:
1039      public.netfrag.org -> http://netfrag.org
1040      secure.netfrag.org -> https://netfrag.org
1041      
1042    o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/!
1043    o netfrag.org: DispatchRequest for http://netfrag.org/rrr/!
1044    
1045    o IntroduceMergePoint at http://netfrag.org/doc/
1046      o MiniHowto
1047      o faqs (e.g. from news://news.netfrag.org/nfo.faq.users
1048    
1049    o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or
1050      o an AUTOCOMMIT on that very event (maybe integrated with a counter)
1051      
1052    o write scripts to iterate recursively through directories under specified path ...
1053      o ... and do some actions on each directory, e.g.
1054      o execute some specified .dot-files (e.g. .pod2htmlrc, .symlinkrc, .makedocrc)
1055      
1056    x CVSSpam in action:
1057      10146 ?        S      0:00 /usr/sbin/sshd
1058      10148 ?        S      0:00 /usr/sbin/sshd
1059      10149 ?        S      0:00 cvs server
1060      10150 ?        S      0:00 cvs server
1061      10151 ?        S      0:00 /bin/login
1062      10155 ?        S      0:00 /usr/bin/ruby -w /var/lib/cvs/CVSROOT/collect_diffs.rb --to joko@netfrag
1063      10158 ?        S      0:00 /usr/bin/ruby /var/lib/cvs/CVSROOT/cvsspam.rb /tmp/#cvs.loginfo.10149.10
1064      
1065    x as Chora'sStylesheet has come active (by accident) when viewing this file view web
1066       we should include this as a fixed default making horde our default stylesheet delivery engine (for now)
1067    
1068    o link-checker for netfrag.org
1069    
1070    o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />?
1071      o styleme.php
1072      o brandme.php
1073      
1074    
1075    
1076    o mini-howto: "HttpRedirect"
1077    
1078    o how to refactor the MiniHowtos?
1079      o into a wiki? wikis seem to miss offline/distributed capabilities! (for now)
1080      x into pod
1081        x build offline
1082        o build online
1083      o into DocBook?
1084      o into tavi? (or "TaviWorkflow"?)
1085      o but: LinkWithWikiAutomagically to get everything together
1086        o look at the InterwikiMechanism
1087        o look at the various WikiPluginArchitectures
1088        o look at YakkaDev!
1089    
1090    o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]!
1091      o this could mean:
1092        o use the declared formats as output filters for viewing target in other formats / styles
1093    
1094    o proposal for hierarchical structure (and HomePage) of netfrag.org
1095      ~overview -> SomeWiki -> Overview
1096        ~projects (include some common text here)
1097        ~users (include some common text here)
1098          - Page: UserArea
1099          - Page: ~users
1100      ~projects -> SomeWiki-> Projects
1101      ~users (include former page "User area" (now UserArea) automagically at the bottom here! (WikiInclude?))
1102        ~rabit (raBit's router - psl.no-ip.com)
1103        ~natraj (sam's place - optix)
1104        ~joko (joko's)
1105        ~bareface (->yakka)
1106    
1107    o MasterWorkflow:
1108      -> TheThreeGoodThings
1109        -> HaveIdea -> WriteDown (RefactorLater) -> WriteDownMore -> WriteDownAssociations -> WriteDownEvenMoreIfNotStoppedByExternalInfluences
1110        -> RefactorIdeas -> Categorize -> AddNotes -> AddTasks
1111        -> DoThings -> ReadTasks -> DoTasks
1112      -> TheFourthBadThing: TimeTrackAllThis  ;-)  (it seems to be not so far away....)
1113    
1114    o what do we need / what do we do?
1115      --- researcher
1116        o OnlineReading
1117        (o SelectItemsForDownload)  <- want-to-have
1118        (o DownloadItems)  <- want-to-have
1119      --- researcher
1120        o OfflineReading
1121        x ClumsyOfflineReading  <- status-quo
1122          (o NiceOfflineReading)  <- want-to-have
1123          (o OfflineArchiving)  <- want-to-have
1124        o OfflineEditing (text, html, pod, tavi)
1125        o OnlinePublishing (<all - everything what has been rendered or archived offline>)
1126      --- engine
1127        o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz)
1128          o OfflineRendering (html, text, pdf, chm)
1129      --- reader
1130        o OnlineReading (<everything that has been published>)
1131        (o SelectItemsForDownload)  <- want-to-have
1132        (o DownloadItems)  <- want-to-have
1133        o OfflineReading (pdf, chm)
1134    
1135    o link to http://teamsonar.no-ip.com
1136    
1137    o mail announces to announce@netfrag.org
1138    
1139    o no symlinks in webroot anymore? use ApacheAliases?
1140    
1141    o MiniHowto: NfoLinkageSystem(->news.nfo.announce)
1142      o this declaration could mean:
1143        o UseResources:
1144          o look up "NfoLinkageSystem" as subject in newsgroup "news.nfo.announce" on default newsserver
1145        o RenderThisWay:
1146          o embed into document - html3
1147          o embed into document - dhtml (ExpandTree, CollapseTree)
1148          o LinkToIt (JumpToMechanism(->minihowto))
1149    
1150    o php: appcontrol: reads .appcontrolrc-files recursively from directories and adds/removes users or sets passwords
1151        according to specification in there
1152    
1153    o source-code parser which creates documentation with wiki techniques
1154      o pod2tavi -> tavi2html
1155      o phpDoc <- tavi-plugin?
1156    
1157    o integrate yakka and newsportal:
1158      o make a yakka-page of embedded news-articles / threads / thread-parts (a NewsComposition) (->YakkaPageMetadata)
1159        o article-sources
1160          o all items from one news-server
1161          o !!! from different news-servers !!!
1162        o add a "CommentThis"-links to each item when rendering
1163        o when user posts the answer on YakkaEditPage
1164          o make yakka post to the article's associated news-server (read from YakkaItemMetadata)
1165          o wait until new article is published, then ...
1166            o ... add to NewsComposition (update YakkaPageMetadata) (->AsynchronousBackendDaemon)
1167            o ... use/introduce a MetaItem "New" into YakkaPageMetadata (at TopLevel)
1168              which shows NewItems(->self, ->live) per thread or newsgroup
1169      
1170    o download this and that - e.g.:
1171      o phpMyadmin(->archive.software.phpMyAdmin)
1172        o this requires 'archive.software' to have ...
1173          o ... a ListSearchHandler (searches nodelist below 'archive.software' only)
1174          o ... a RecursiveSearchHandler (searches nodelist below 'archive.software' and all subfolders recursively)
1175          o make this available as a ResourceHandler via a DispatchRequest sitting at
1176            o http://netfrag.org/archive/?base=software&search=phpMyAdmin
1177            o http://archive.netfrag.org/
1178    
1179    x rename newsgroup nfo.csm to nfo.caesar (Collaborative And Easy System Management)
1180      x ctlinnd newgroup nfo.caesar
1181      x /etc/init.d/inn stop
1182      x cd /var/spool/news/nfo
1183      x cp csm/* caesar/
1184      x cd caesar
1185      (x movearticle ...)
1186      o chown news.news *
1187      o /usr/lib/news/bin/makehistory
1188      x THIS FAILED! DON'T DO IT
1189      
1190    o MiniHowto: KerberizedSystem (->~jonen)
1191    
1192    o RefWords -> LookUpDb -> SearchDb
1193    
1194    x added first news-article which refers/references to another one in another newsgroup
1195       <a href="http://news.netfrag.org/nfo.caesar/id/1">Requirement: LDAP For Aliases, Maps, And Classes</a>
1196       o PARSER-TODO: RefactorThisLink
1197    
1198    o check out /usr/sbin/checksecurity - what's that?
1199      x seems to come from /etc/cron.daily/standard
1200      
1201    o write mail to the KroupwareMailingList
1202    
1203    o ContentIndexer for netfrag.org which should provide a FullTextSearch over AllResources
1204    
1205    o run MakeDoc at interval at netfrag.org as ServiceUser
1206      o implement first version of makedoc
1207      o use mkDoc.bat (or similar) for that purpose
1208      o extend: use 'makedoc.bat|.pl' from ->cvs.joko.TestArea.topics.authoring.DocBook
1209    
1210    o DispatchRequest to tie all together
1211      o just make a ref from almost everything and see what comes in....
1212      o write handlers for the various refs....
1213      
1214    o show foldername in CVSSpam - message
1215    
1216    o SoWhyCommands?
1217        o JustUseHumanLanguage!
1218          o StartWithEnglish
1219          o TryGerman
1220    
1221    o wrappers around the common used cvs commands
1222      o cvscheckout <what>
1223      o cvsupdate <what>
1224      o cvscommit <what> <message>
1225    
1226    o newsportal
1227      feature-idea: crosspost to another group
1228      
1229    o FreeTaskManagement
1230    
1231    o run-dotfiles -R fetchdoc|synccvs|makedoc
1232    
1233    o netfrag.org: "NewItems" (interacting with user's cookie's)
1234    
1235    o phpLdapAdmin
1236      o use Horde's Ldap-driver!
1237      o tryout http://www.enaliath.com/phpLDAPadmin.tgz
1238      
1239    o david-addons (Freeware)
1240    
1241    o MacOsX (Shareware)
1242    
1243    o POE - mailing-list???
1244    
1245    o publish all ldap-schemas seperately
1246    
1247    o copyright information for nfo/docs/schemas (horde & janosch)
1248    
1249    o notify of new news-entries / bug-requests
1250    
1251    o scan urls from channel nfo and post to nfo.links.misc
1252    
1253    o write current topic of #nfo to some page on http://netfrag.org and link to irc-channel there
1254    
1255    o FeatureForTUTOS: ConvertNoteToTask
1256    
1257    o FeatureForTUTOS: mark items in MiniTaskView as open or closed (by their respecrive state)
1258    
1259    o wiki.de?
1260    
1261    o increase memory for quepasa.netfrag.org (128?)
1262    
1263    o have a look at /usr/share/mail-audit-tools/popread
1264    
1265    o ModeWorkflow:
1266      o OnlineMode:
1267        o GoOnline
1268        o SyncHome2Web
1269        o BrowseInternet, SelectItemsForDownload (SeeOtherNote "what do we need / what do we do?")
1270        o SyncWeb2Home
1271        o GoOffline (switches to DisconnectedMode)
1272      o DisconnectedMode:
1273        o ReadMails, WriteMails
1274        o ReadNews, PostAnswers
1275        o BrowseIntranet, PublishStuff
1276        o GoHome (switches to ShutdownMode)
1277      o ShutdownMode
1278        o all (important - more or less...) messages are redirected to pre-configured
1279           addresses and/or notifications are sent on incoming messages at specific
1280           targets to pre-configured addresses as well.
1281    
1282    o Hack: ModifyWord to *only* load and save HTML-Documents
1283    
1284    o TUTOS:
1285      o MyTUTOS:
1286        o on http://www.netfrag.org/tutos/php/mytutos.php ...
1287        o "Open Tasks" (below|above "Products & Projects")
1288        o ... display http://www.netfrag.org/tutos/php/task_overview.php?id=1036
1289        o columns: Taskname (linked to task), Projectname (linked to project), created
1290      o Calendar:
1291        o collapse Items (cut away Project-relationship)
1292        o limit column width
1293        o smaller font
1294        o evtl.: vertically
1295      o create Task:
1296        o a "pre"-task doesn't need dates (neither from nor to)  (use the creation-date for displaying in overview)
1297        o an "ongoing"-task needs a begin date only
1298        o a "finished" task needs both!
1299    
1300    o look at docbook.m4 at /home/service/download/mnogosearch/mnogosearch-3.2.7/
1301    
1302    o /home/service/download/mnogosearch/3.1.2.5/sample
1303    
1304    x all attempts to install some recent mnoGoSearch-version working together with mysql
1305        from some debian packages failed, now trying mnogosearch-3.1.20
1306        x configure --with-mysql
1307        x apt-get install libmysqlclient10-dev
1308        x configure --with-mysql
1309        x make && make install
1310        x configure /usr/local/mnogosearch/etc/indexer.conf
1311        x cd /home/service/download/mnogosearch/mnogosearch-3.1.20/create/stopwords
1312          x ./stopword.pl stop.de.txt stop.en.txt > stopwords.txt
1313          x mysql mnogosearch < stopwords.txt
1314    
1315        x seems to work perfectly with "single"-mode!
1316        
1317        o now switching to crc-multi again....
1318          x cd /usr/local/mnogosearch
1319          x ./sbin/indexer -a -v 5
1320          
1321    
1322    
1323  </pre>  </pre>
1324    
1325    <hr/>
1326    $Id$
1327    
1328  </body>  </body>
1329  </html>  </html>

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.98

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