/[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.3 by joko, Thu Jan 23 20:11:39 2003 UTC revision 1.71 by joko, Mon Jan 27 05:33:48 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    AIMS:
13      - Convert this document into a data-structure and back.
14      - Don't loose a bit of information.
15      - Make possible to link to all resources available.
16    
17    for working with it
18      - global metadata
19        - cvs-loginfo/commitinfo
20      - ItemMetadata
21        - ItemStatus (open, closed and stuff)
22        - ItemAuthor
23        - ItemType
24        - ItemIdentifier
25        - references/associations to/from
26      - word metadata
27        - link to target
28        - show target as ...
29      - overview of all gathered metadata (at the bottom)
30    
31    for rendering it
32        - render <target> at <locator> as <that-type> [in <this-mode>] [to this <othertarget>]
33    
34    
35  joko@netfrag.org - sample stack:  joko@netfrag.org - sample stack:
36    
37    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 34  o look (in detail) at Cyrus Netnews Line 63  o look (in detail) at Cyrus Netnews
63    x seems to make an external web-based newsreader unneccessary!!!    x seems to make an external web-based newsreader unneccessary!!!
64    
65  o tie together mail, news and html  o tie together mail, news and html
66     o write mini-howto     c write mini-howto
67    
68  o link with erfrakon  o link with erfrakon
69    
# Line 129  o what about: Line 158  o what about:
158    
159  o word-search: "identify" and "search" for  o word-search: "identify" and "search" for
160    
161    o establish global "logs/" - like at http://moose.qx.net/logs/
162    
163    o add redirecting page when someone wants to access
164       o http://netfrag.org/~joko/phpChoPro/ or
165       o http://netfrag.org/~joko/w2hfax/
166    
167    o update mail-dispatching-rules - aim: a more flat structure!!!
168      o look at ilo.de/Inbox
169        o marked message to Spam? Newsletters?
170      x move: logs/cvs/quepasa.netfrag.org -> logs/netfrag.org
171      x look at netfrag.org/Inbox
172        x if subject matches "Cron <joko@quepasa>" set target "logs/netfrag.org/joko/cron" [push over cron]
173          x mkdir Mail/SORTED/netfrag.org/joko
174          x touch Mail/SORTED/netfrag.org/joko/cron
175        x if subject matches "quepasa daily usenet report" at begin set target "logs/netfrag.org/system/applications" [push over inn]
176        x if subject matches "[CVS" at begin set target "logs/netfrag.org/cvs" [push over CVSSpam]
177        x if mail is from myself set target "me2myself"
178        x moved some folders
179          x move already existing file to folder
180            x mv logs/netfrag.org/system logs/netfrag.org/system.tmp
181            x mkdir logs/netfrag.org/system
182            x mv logs/netfrag.org/system.tmp logs/netfrag.org/system/applications
183          x mv netfrag.org/Status/h1.service.netfrag.org logs/netfrag.org/system/
184          x mv netfrag.org/Status/TWikiChanges logs/twiki.org/ChangeLog
185            x mkdir logs/twiki.org
186            x do changes in .dispatchmailrc  -  always - ;-)
187          x mv netfrag.org/Status/quepasa.netfrag.org logs/netfrag.org/system/
188          x blocked email-partition   *partition*! - email-partition(!) -> WordFinder
189            x mkdir ../FILTERED
190            x mv netfrag.org/Status/Spam ../FILTERED
191            x mv netfrag.org/Status/Test misc/
192          x mv netfrag.org/Status/Postmaster\ Routing misc/Postmaster
193          x rmdir netfrag.org/Status/
194      x look at netfrag.org/Inbox - again
195            
196          
197      o look at quepasa.netfrag.org/Inbox
198        o [Multisync-users]
199        o [Kroupware]
200      x tested the rules from above
201        x echo This is a testmail. Please ignore it. | mail -s "[CVS hello]" joko
202    o move old mails to MailHistory
203        
204      o write parser and engine to handle above declaration: Mail::Audit::Dispatch::Interface::Script
205      o add "X-"-field (X-Dispatched-By: dispatchmail-0.06 - http://netfrag.org/~joko/computing/dispatchmail/)
206        
207    o release mail from above from joko - introduce another email-address
208      - e.g. work@netfrag.org, event@netfrag.org or tracker@netfrag.org (like collector@netfrag.org)
209    
210    o Multisync & SyncML
211      o post something to mailing-list...!?
212    
213    o the '.cvslink'-mechanism:
214      o type: ln -s /home/joko/public_html/_web/_cvs.php .
215    
216    o LinkContainer
217      - insert via drag & drop
218      - shows links hierarchically
219    
220    o (Self)Info - mails to yourself  
221      o convert all "(Self)Info" mails to
222      news-messages - use "formail" and ...?
223    
224    o h1.service.netfrag.org
225      o base os-upgrade: suse X -> debian 3.0
226      
227    o dispatchmail
228      o are Mail-Headers already added?
229    
230    o workflow (PostThisLink)
231      o drag link from done google-search ...
232      o ... to container (at the current Task)
233      o a news-post is created automagically
234        o use this:
235          [smtp-header-fields]
236          From: expanded email-address resolved from Name|Nickname in Addressbook (via LDAP!)
237          Subject: googled for "<search-request>"
238          [body]
239          o include into mime-part if not already included
240            o fetch from web on demand
241    
242    o ssl/tls for inn?
243    
244    o dispatchmail
245      o re-link as sub-/module-project under Torus::Content::Gateway (mail2news, mail2fax)
246      o -> Torus::Content - a content delivery engine
247      o -> additional idea: Torus::Content::Gateway is "just" the API to "Torus::Item::Router" in this case
248        o 'Torus::Content::Gateway' would then route 'Torus::Item::RFC822'-objects using 'Torus::Item::Router'
249      o look at sieve - jonen posted to nfo.links.computing: [r:Message-ID: <b0ppj7$7gv$1@quepasa.netfrag.org>]
250      o re-link as sub-/module-project under Torus::Virtual (mail2folder, mail2mail)
251        o here it acts as a dispatcher from incoming mails - TARGET gets resolved via ldap-resolvement
252        o make possible: MAIL-IN -> mail2mail (via ldap-query) -> mail2fax|mail2news
253      o mail2news
254        x the "via-fetchmail"-solution
255        x su collector
256        x cd ~
257        x chmod og-rwx .fetchmailrc
258    
259    o finally: do actually establish 'Torus' at 'nfo/perl/libs'
260    
261    o pod: checkout how to make references which expand to html-urls
262      o does pod handle this or do we need external link-expansion for this task?
263      o how to make references to news-messages?
264          e.g.:
265          o Message-ID: <b0ppj7$7gv$1@quepasa.netfrag.org>
266          o news://news.netfrag.org/nfo.links.computing
267       o proposal(s) for "news2http" (Torus::Content::Gateway/Torus::Item::???):
268          o http://news.netfrag.org/id=b0ppj7$7gv$1@quepasa.netfrag.org
269          o http://news.netfrag.org/nfo.links.computing/subject=FilteringMailWithSieve of wiki
270          o http://news.netfrag.org/nfo.links.computing/id=b0ppj7$7gv$1@quepasa.netfrag.org
271    
272    o what about the '.nws'-files on ms? (for news-messages)
273    
274    o display-mode: everything strictly hierarchical to get maximum overview!!!
275    
276    x Inventory: cleaned up local and master code repositories
277    
278    o add "last-updated" to "README.html"
279    
280    o search.netfrag.org
281    
282    o tool for the "DoThis", "DoHere", "DoAll" - series
283      o FaxThis (joko/ToolBox/Windows/FaxThis)
284      o tool "WinSync": (WinSync All)
285        x RsyncHere
286        o Contacts2Ldap
287    
288    o statistics-page:
289      o for cvs.netfrag.org: cvs-statistics (activeness, ...), sloccount
290    
291    x home2web
292      x finally - added complete /home/joko/ to cvs-repository in order to get a revisioned ".dispatchmailrc"
293        x ~/.bashrc - added line: export CVSROOT=/var/lib/cvs
294        x relogin: logout/login
295        x cd ~
296        x joko@quepasa:~$ cvs checkout -d . joko     (Fri Jan 24 00:43:18 CET 2003)
297        x cvs add TODO
298        x cvs add .bashrc .cronrc-hourly .forward
299      x added /home/joko/virtual/joko_mail
300        [as joko]
301        x cvs add virtual
302        x chmod g+w virtual/CVS/*
303        [as joko_mail
304      o shortcut for (e.g.): cvs commit  -m "initial check-in" .bashrc .cronrc-hourly .forward
305          o cvsadd <abc> <def>    
306      o add /home/root (and maybe include there some other things "lying around")
307    
308    o alternative to all that Cyrus-stuff: just use the very "normal" imapd together with kerberos
309    
310    o make screenshots of log-output of dispatchmail when it's ready
311    
312    o base logging of 'dispatchmail' on DesignPattern::Object::Logger
313    
314    o dispatchmail-mail2folder: add feature to create folders recursively
315    
316    x archive mails
317      x su joko_mail
318      x cd ~
319      x mv ilo.de/Inbox ~/MailHistory/ARCHIVED/ilo.de/2002-05-30\ -\ 2003-01-24
320      x mkdir ~/MailHistory/ARCHIVED/netfrag.org/2003-01
321      x mv netfrag.org/Info ~/MailHistory/ARCHIVED/netfrag.org/2003-01/
322        x changed rule which formerly targeted to 'netfrag.org/Info' into 'me2myself'
323      x mv netfrag.org/Inbox ~/MailHistory/ARCHIVED/netfrag.org/2003-01/
324      x mkdir ~/MailHistory/ARCHIVED/netfrag.org/2003-01/Status
325        x mv netfrag.org/Status/cashew.netfrag.org ~/MailHistory/ARCHIVED/netfrag.org/2003-01/Status/
326        x mv netfrag.org/Status/h1.service.netfrag.org ~/MailHistory/ARCHIVED/netfrag.org/2003-01/Status/
327      x mv Sent ~/MailHistory/ARCHIVED/Sent/Sent_2002-11-13_-_2003-01-24
328      
329    
330    o investigate LDAP-entry "mailForwardingAddress"
331    
332    o establish "Mini-HowTo"
333    
334    o search (allover): /^.*\.netfrag\.org/  => find all hostnames to register
335       (they are scattered around in to-be-installed (web-)applications)
336    
337    o Mail::Audit::Dispatch::Lookup (csv-file, ::NetLDAP, => Data::Storage::Handler::Xyz => Data::Map)
338    
339    x switched mailing completely in outlook
340      o Evolution!
341      x now talking to 'wu-imapd' via ssl, too! - thanks to jonen!
342        Jan 24 04:55:17 quepasa imapd[11508]: connect from 217.231.123.57
343        Jan 24 04:55:17 quepasa imapd[11508]: imaps SSL service init from 217.231.123.57
344        Jan 24 04:55:18 quepasa imapd[11508]: Login user=joko_mail host=pD9E77B39.dip.t-dialin.net [217.231.123.57]
345      x now my outlook sends via 'mail.netfrag.org' using 'TLS' - thanks to jonen!
346        Jan 24 04:53:09 quepasa sm-mta[11499]: STARTTLS=server, relay=pD9E77B39.dip.t-dialin.net [217.231.123.57], version=TLSv1/SSLv3, verify=NO, cipher=RC4-MD5, bits=128/128
347        Jan 24 04:53:10 quepasa sm-mta[11499]: h0O3r91D011499: from=<andreas.motl@ilo.de>, size=435, class=0, nrcpts=1, msgid=<008c01c2c35c$5701d2a0$240aa8c0@grasshopper>, proto=ESMTP, daemon=MTA, relay=pD9E77B39.dip.t-dialin.net [217.231.123.57]
348    
349    o use <a href="http://imapfilter.hellug.gr">IMAPFilter</a>!!!
350    
351    o refactor old TODOs using 'home2web'
352    
353    o webgate (like dispatchmail)
354    
355    o zeit anhalten! (alle grauen männer umbringen!)
356    
357    o add to cvs:
358       o /home/service/
359       o /home/service/virtual/collector
360       o /home/service/virtual/tracker
361       o /home/service/virtual/fetcher
362       o /home/service/virtual/archiver
363    
364    o use 'wCron' to automagically do a 'cvs commit -m "+ updated/added content" joko/doc'
365      x mkdir -p C:\Programme\WCron
366      x unzip -j "C:\home\amo\develop\netfrag.org\rabit\wCron\releases\WCron-0.62-pre.zip" -d C:\Programme\WCron
367      o win2000: change/check permissions: right-click/Properties/Security Settings/Read, Execute = enabled
368      x run it
369      x add task
370        x implement shortcut-script: joko/Scripts/shortcuts/cvs_commit_joko-doc.bat
371          x add lines:
372            x cd C:\home\amo\develop\netfrag.org\joko
373            x cvs commit -m "+ updated/added content" doc      
374    
375    
376    o on Windows it's called "QuickLaunch" ....
377    
378    o plugins for nautilus/gnome/kde:
379      show arbitrary data-structures (from anywhere): here we may get the drag & drop - functionality "on-the-fly"
380    
381    o new user "gateway":
382      x adduser --home /home/service/virtual/gateway gateway  (pass: gw%R%)
383      x mkdir /var/lib/cvs/gateway
384      x chown -R gateway.gateway /var/lib/cvs/gateway
385      x su gateway
386      x cvs -d /var/lib/cvs checkout -d ~ gateway
387      
388    x error on quepasa:
389        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
390        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.
391      x add to /etc/mail/default-auth-info
392        sendmail
393        sendmail
394        sendmailpwd
395        quepasa.netfrag.org
396      x /etc/init.d/sendmail restart
397    
398    o Torus::Publish::Research::Web
399       o googling for something automagically opens a new task
400       o all links directly or indirectly coming out of this are sorted below this task
401       o the user can end this task on demand: timetracking is done automagically as well
402      
403    o register tutos.netfrag.org
404    
405    o qpopper with tls, sasl and kerberos5?
406    
407    o off realtime! the only thing that happens at realtime is MailMiltering.
408       x cvs checkout of joko/doc is done via cron
409       x mail2news-dispatching is now done via cron (would be possible "in realtime" via '.forward'ing the mail *directly* to dispatchmail)
410    
411    o ctlinnd newgroup nfo.csm (Collaborative System Management)
412    
413    o make possible:
414      o after "cvs update" make question: "Found new items in "" while scanning. Should i add them to the repository?"
415      o drag & drop arbitrary items out of outlook (.msg, .nws, etc.) - search for them while scanning the fs and sync them
416         against *original* source. (e.g. 'Message-ID: <b0s5v9$j7d$1@quepasa.netfrag.org>')
417    
418    x CVSSpam -> nfo.log.cvs
419      x su root
420      x cd /etc/mail
421      x nano virtusertable
422      x add line:
423        x cvs-log@netfrag.org             gateway
424      x make virtusertable
425      x su gateway
426      x cd ~
427      x nano .dispatchmailrc
428        x add lines:
429          $self->copy('Newsgate', 'nfo.log.cvs')
430            if $to =~ m/cvs-log/;
431      x exit   (to logout)
432      x cvs update CVSROOT/loginfo
433      x add to CVSROOT/loginfo (to the end of the line starting with '^nfo '):
434        --to cvs-log@netfrag.org
435      x cvs commit -m "+ added new notification target: 'cvs-log@netfrag.org'" CVSROOT/loginfo
436      x tested with some mini-howto
437      x removed '--to joko@netfrag.org --to jonen@netfrag.org --to bareface@netfrag.org --to janosch@netfrag.org '
438         from CVSROOT/loginfo for module 'nfo'
439      x announce this
440        x added to '/etc/news/nnrp.access':
441          *:Read Post:bareface:bareface:*
442        x /etc/init.d/inn reload
443    
444    x add 'gateways'-repository to chora
445      x nano /data/www/doc/horde/chora/config/cvsroots.php
446      x add lines:
447        # 2003-01-24, joko
448        $cvsroots['gateway'] = array(
449            'name' => 'gateway',
450            'location' => '/var/lib/cvs/gateway',
451            'title' => "$titlePrefix gateway's CVS Repository",
452            'cvsusers' => $cvsusers,
453        );
454    
455    x configured Apache for serving news.netfrag.org
456       x cleaned up /data/www/virtual/netfrag/conf/httpd.conf
457          x ./test.conf
458          x comments
459       x /etc/init.d/apache reload
460       x test: http://news.netfrag.org/
461      
462    o new module for cvs-repository?
463       o nfo/layouts/fs/skel/data2
464       o checkout to /data on quepasa.netfrag.org
465       x done:
466          x su root
467          x cd /var/lib/cvs
468          x mkdir -p nfo/layouts/fs/skel/data
469          x mkdir -p nfo/layouts/fs/skel/data2
470          x mkdir -p nfo/hosts/quepasa.netfrag.org/data
471          x cvs -d /var/lib/cvs checkout -d /data nfo/hosts/quepasa.netfrag.org/data
472            x *mungle everything and commit!*  look at the repository!
473          x add special group with access to this repository: 'rootsrc'
474            x groupadd rootsrc
475            x usermod -G src,staff,rootsrc joko
476            x usermod -G src,staff,rootsrc jonen
477            x usermod -G rootsrc root
478            x change permissions
479              x cd /var/lib/cvs/nfo/
480              x chown -R .rootsrc hosts
481              x chmod -R g+w hosts
482    
483        
484    x add to system-conf-repository:
485      x /etc/mail
486      x php: cvs-redirect
487      x
488      
489    o extend WCron
490       x show (per-task) if it's currently running or not: provide buttons to (start, stop, pause, resume or cancel a task...)
491       x use as a frontend for administering nfo/libs/perl/ - backend - tasks(???)
492      
493    x install Horde/Troll
494       x install troll
495         x cd /home/service/download
496         x mkdir horde
497         x cd horde
498         x wget ftp://ftp.horde.org/pub/troll/troll-0.0.2.tar.gz
499         x tar -xzf troll-0.0.2.tar.gz --directory=/data/www/doc/horde/
500       x configure horde
501         x cd /data/www/doc/horde/
502         x nano config/registry.php
503            x add lines:
504             $this->applications['troll'] = array(
505                 'fileroot' => dirname(__FILE__) . '/../troll',
506                 'webroot' => $this->applications['horde']['webroot'] . '/troll',
507                 'icon' => $this->applications['horde']['webroot'] . '/troll/graphics/troll.gif',
508                 'name' => _("News"),
509                 'allow_guests' => true,
510                 'show' => true
511             );
512          x configure Troll
513            x cd troll/config
514            x conf.php
515              x cp conf.php.dist conf.php
516              x nano conf.php
517              x edit:
518                x $conf['news']['server'] = 'news.netfrag.org';
519                x $conf['news']['mailserver'] = 'mail.netfrag.org';
520            x servers.php
521              x cp servers.php.dist servers.php
522              x add:
523                $servers['netfrag.org'] = array(
524                    'name' => 'news.netfrag.org',
525                    'server' => 'news.netfrag.org',
526                    'port' => 119,
527                );
528            x prefs.php
529              x cp prefs.php.dist prefs.php
530            x html.php
531              x cp html.php.dist html.php
532            x permissions
533              x chmod o+r *.php
534              
535            
536          x test: http://netfrag.org/horde/
537            o another (more bright) skin for horde@netfrag.org!!!
538            
539    o Warum nicht überall Horde? Sondern TUTOS?
540       o Horde ist sehr breit angelegt, dafür fehlt es jedoch an vielen Stellen noch ein wenig im Detail.
541       o mittlerweile: mit Hermes & Co.? nochmal ansehen!
542    
543    o just do automated operations (like cvs commit) only if system is idle
544    
545    o automagically redirect http://netfrag.org/horde/ to https://netfrag.org/horde/
546      o with an Apache - rewrite-rule?
547      
548    x how to map TUTOS-groups to newsgroups?
549      x ctlinnd newgroup nfo.tutos.sysadmin
550      x add dispatching for sysadmin@netfrag.org
551        x add to /home/service/virtual/gateway/.dispatchmailrc
552          $self->copy('Newsgate', 'nfo.tutos.sysadmin') if $to =~ m/sysadmin/;
553        x add to /etc/mail/virtusertable:
554          # --- news.netfrag.org - joko, 2003-01-24
555          sysadmin@netfrag.org            gateway
556          make virtusertable!
557        x write welcome-mail
558          root@quepasa:~$ mail sysadmin@netfrag.org
559          Subject: Welcome to the sysadmin-newsgroup at netfrag.org!
560          Have fun!
561          greets, joko.
562          
563          .
564          Cc:
565        x test: do "refresh newsgroups" at your favourite news-reader
566      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>
567        x HEADERS:
568          x Message-ID: <b0shbj$l9s$1@quepasa.netfrag.org>
569          x Subject: Re: Welcome to the sysadmin-newsgroup at netfrag.org!
570        o newsgate
571          o http://news.netfrag.org/nfo.tutos.sysadmin/id/b0shbj$l9s$1@quepasa.netfrag.org
572          o http://news.netfrag.org/nfo.tutos.sysadmin/subject/Re: Welcome to the sysadmin-newsgroup at netfrag.org!
573    
574    o Erkenntnis aus UML (Kernel 2.4): schwierig mit gleichzeitigem Zugriff
575    
576    o gave up trying to get Troll running
577    
578    x setup alternatives to Horde for public access
579      o viewcvs
580        x apt-get install libapache-mod-python
581        
582      o WebNewsViewer
583      
584    o release the user from having to send email-messages to actually post urls with content (e.g. "FirstPage")
585    
586    o parse .url-files!
587    
588    o have newsgroup-structure backed in ldap-container (ou) somehow (Data::Map!)
589    
590    x new email-addresses@netfrag.org:
591      x sysadmin@netfrag.org
592      x faq@netfrag.org
593      
594    x --rework|*reworked*-- apache-layout - check into repository as something root is responsible for!
595    
596    x --setup|*setting up*-- newsportal (by Florian Amrhein)
597      x url: http://florian-amrhein.de/newsportal/
598      x cd /home/service/download
599      x mkdir newsportal
600      x cd newsportal
601      x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz
602      x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/
603      x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/global/apps/newsportal/
604      x add to /data/www/virtual/netfrag/conf/applications.conf
605        Alias /webnews/ /data/www/global/apps/newsportal/
606      x configure in /data/www/global/apps/newsportal/config.inc
607        // newsserver setup
608        $server="news.netfrag.org";
609        $server_auth_user="webnews";
610        $server_auth_pass="web123";
611      x add to /etc/news/nnrp.access:
612        # 2003-01-26, joko
613        *:Read Post:webnews:web123:*
614      x modify groups.txt
615        <nfo.* - add all groups here>
616        o TODO: AUTOUPDATE here!
617      x add to the index-page:
618        xR set INSERTION="<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />"
619        x grep -rin "<head" *
620          doc/readme-deutsch.html:4:</head>
621          doc/faq.html:4:</head>
622          doc/history.txt:234:- fehlender </head> Tag ergaenzt
623          doc/readme-english.html:4:</head>
624          doc/history.txt~:233:- fehlender </head> Tag ergaenzt
625          extras/frames/thread_frameset.php:10:</head>
626          head.inc:5:</head>
627        x cvs add head.inc
628        x cvs commit -m "+ initial commit" head.inc
629        x <modify head.inc>
630          x nano head.inc
631          x <jump to line 5> STRG+W + T: 5
632          xR <insert INSERTION>
633          xR <insert [ENTER]>
634          x <save file> STRG+O + [ENTER]
635        x test: <hit reload on <a href="http://www.netfrag.org/webnews/">http://www.netfrag.org/webnews/</a>>
636          o TODO: RefactorThisHtmlRef to WebNews
637        o view message in some MimeViewer or HtmlViewer (Horde?)
638          o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities
639      x Why newsportal and no other?
640        x directly connects to nntp-daemon
641        x has local spool (o TODO: purge regularly?)
642        x highly customizable
643          x added custom css-stylesheet and changed something at content-rendering-level without any problems
644          x visit cvs.netfrag.org to look at the changes made to the newsportal codebase:
645            x -> <a href="http://cvs.netfrag.org/nfo/hosts/quepasa.netfrag.org/data/www/global/apps/newsportal/">newsportal at cvs.netfrag.org</a>
646              o TODO: RefactorThisLink
647        x it's just easy!
648      x setup dispatchrequest for http://news.netfrag.org
649        x cd /data/www/virtual/netfrag/sites/news/
650        x create symlink
651          x ./.symlinkrc
652        x copy over from webcvs
653          x cp ../webcvs/index.php .
654          x mkdir .dispatch
655          x cd .dispatch
656          x cp ../webcvs/.dispatch/config.php .
657          x cp ../webcvs/.dispatch/index.php .
658        x cvs add ...
659        x cvs commit ...
660      x added|*adding* dispatcher at http://news.netfrag.org
661        x used and mungled DispatchRequest(->cvs, ->doc, ->search)  for this purpose
662          o IdeaFor ParseDoc: expand: cvs=JumpToCvs, doc=JumpToDoc, search=SearchFor
663            x examples for the JumpToCvs mechanism are shown on <a href="http://netfrag.org/~joko/computing/overview/topics/>computing/overview/topics</a>
664        x tested http://cvs.netfrag.org/ - still working...
665        o AddedFeatures to DispatchRequest:
666          x JumpToNewsgroup: http://news.netfrag.org/nfo.tutos.sysadmin/
667            e.g. ->http://netfrag.org/webnews/thread.php?group=nfo.links.computing
668          o JumpToThread: NotYetImplemented! DoWeReallyNeedThis?
669          o JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/b0shbj$l9s$1@quepasa.netfrag.org
670          x JumpToArticle: http://news.netfrag.org/nfo.links.computing/id/44
671            e.g. ->http://netfrag.org/webnews/article.php?id=44&group=nfo.links.computing
672          
673    
674    o NfoWeb
675      o add WikiPages:
676        o Overview
677          o Projects
678          o MiniHowTo
679          (o Search)
680      o modify HomePage
681        o change Projects to Overview
682    
683    o yakka & pod
684      o convert pod to tavi
685        o perl first (pod2tavi)
686        o php afterwards (pod2tavi-php)
687        o then refactor to a YakkaPlugin (an "input-filter"?) ('yakka-filter-pod'?)
688      o address "files" outside the normal/configured default YakkaRepository
689        o introduce: "ExplicitAddressingOfArbitraryTargets"
690          o via HttpHeader (GET/POST) (HtmlUrlArgument, HtmlFormField)
691        o introduce "YakkaContainers": aim: group a bunch of targets/items together as a kind of "MetaRepository"
692    
693    o viewcvs & yakka
694      o a filesystem-adapter for yakka's storage-handler-system
695      o show "view in yakka" if document-type eq 'tavi|tavi,v|pod'
696    
697    o IconForNetfrag.Org?
698      o fav.ico?
699      
700    x --*installed*|install-- viewcvs
701      x apt-get install viewcvs
702        x configured:
703          x /var/lib/cvs
704          x email-address (new): cvs-admin@netfrag.org  ->  dev@netfrag.org
705          x no forbidden modules (do this via unix permissions!)
706          x allow tarball generation? yes!
707          x Hint: add "Alias /viewcvs/ /usr/share/viewcvs/" to /etc/apache/conf/httpd.conf for online documents and icons
708            x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case
709          x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt'
710    
711    o rendering *proposals* for TaviWorkflow
712      o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks)
713      o Coloring
714        o [o=red, x=green, R=red, r=green]
715    
716    o *shortcut*: TestApache to run 'apachectl configtest' (WikiForSystemAdministration)
717    
718    x web-based newsreader? twig!
719      x apt-get install twig
720      
721    o shutdown horde (for now: "pause")
722    
723    o viewcvs & apache-mod-python?
724    
725    o home2web, .home2webrc
726      --before: buildhtml --source=pod|tavi
727      --after: say "ready"
728    
729    x added root of quepasa to cvs
730      x su root
731      x cd /var/lib/cvs/nfo/hosts/quepasa.netfrag.org
732      x mkdir root
733        x chown -R .rootsrc root/
734        x chmod -R g+w root/
735      x cd /tmp
736      x cvs -d /var/lib/cvs checkout -d / nfo/hosts/quepasa.netfrag.org/root
737      x start with /etc
738        x cd /etc
739        x cvs add etc
740        x cvs add viewcvs
741          x cd viewcvs
742          x cvs add ....
743          x cvs commit -m "+ initial commit"
744    
745    x How to get a single file from cvs for download: (e.g.)
746       wget http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/viewcvs/viewcvs/templates/header.ezt?rev=1.2
747    
748    x cvsgraph still missing: apt-get install cvsgraph
749    
750    x chora -> viewcvs
751      o change logo at /usr/share/viewcvs/images
752      x removed from template
753      x cvsview-query.cgi didn't work yet!
754        x error was:
755          x tail -f /data/www/virtual/netfrag/log/error_log
756          Traceback (most recent call last):
757            File "/usr/lib/cgi-bin/viewcvs-query.cgi", line 50, in ?
758              import query
759            File "/usr/lib/python2.1/viewcvs/query.py", line 42, in ?
760              import cvsdb
761            File "/usr/lib/python2.1/viewcvs/cvsdb.py", line 34, in ?
762              import dbi
763            File "/usr/lib/python2.1/viewcvs/dbi.py", line 17, in ?
764              import MySQLdb
765          ImportError: No module named MySQLdb
766          [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
767        x solution is:      
768          x apt-get install python-mysqldb
769        x use mysql;
770          x insert into db values ('localhost', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
771          x insert into db values ('%', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
772          x insert into user (host, user, password) values ('localhost', 'viewcvs', password('viewcvs'));
773          x flush privileges;
774        x cd /usr/lib/viewcvs
775        x ./make-database
776      x
777      o mail to author of viewcvs
778        
779    
780    o docu about uml and filesystem-layer running on gharb for MiniHowTo?
781    
782    o search.php?wiki=1&cvs=1&index=1
783    
784    o get mnoGoSearch running
785      e apt-get install mnoGoSearch
786    
787    o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done)
788    
789    o ScanToWeb
790    
791    o look at Mailman: http://www.list.org/features.html
792    
793    o use cvsup!?
794    
795    o alien.netfrag.org - (package-conversion)  --> alien.packages.netfrag.org
796    
797    o chora2viewcvs - How to migrate from Horde/Chora to viewcvs.
798    
799    o LinuxInCvs (linux2cvs)
800    
801    o TestApacheConfig, StopApache, StartApache have to work without any running Apache - of course!
802    
803    o through "viewcvs" we loose the ability to "publish" documents via former chora:
804       viewcvs takes care to keep documents like they are in their original - so ".html"-files should be shown with text/plain
805    
806    o re-integrate .cvslink/JumpToCvs with dispatchurl
807    
808    o WikiWords in CvsCommitMessages? (via yakka?)
809    
810    x http://cvs.netfrag.org/bareface/yakka/?tarball=1
811    
812    o [source:/link/to/source-code]   (most times a '.cvslink' - hmmm?)
813       [source:<projectname>]
814    
815    o HelpMe
816    
817    o [snapshot:/link/to/snapshot]
818       [snapshot:<projectname>]
819    
820    o dispatchrequest - a multipurpose request dispatcher
821      o integrate:
822        x redirector at cvs.netfrag.org ...
823        o ... and news.netfrag.org
824      o JumpToCvs (.cvslink-mechanism)
825      o how was it done?
826        x cd /data/www/virtual/netfrag/sites/webcvs/.dispatch
827        x ln -s /data/www/global/apps/dispatchrequest .
828        
829      
830    o buildhtml -> makedoc
831    
832    o TWIG & yakka?
833    
834    o rename: dispatchmail -> dispatchmessage
835    
836    c rename: dispatchrequest -> forwardrequest?
837    
838    o readrc of bashrc|perlrc|xmlrc
839    
840    x setup TWIG
841      x cd /usr/share/doc/twig
842      x cd /data/www/virtual/netfrag/conf/
843      x nano applications.conf
844      x add line: Alias /twig/ /usr/share/twig/
845      x had to modify /etc/apache/conf/httpd.conf:
846        x added: 'index.php3'
847            <IfModule mod_dir.c>
848                DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3
849            </IfModule>
850        x added: '.php3'
851            AddType application/x-httpd-php .php .php3
852        x /etc/init.d/apache reload
853        x cd /etc/twig
854          x modify config.inc.php3
855        x cd /usr/share/twig/setup
856          x mysql
857            x use mysql
858            x insert into user (host, user, password) values ('localhost', 'www-data', password(''));
859            x insert into db values ('localhost', 'twig', 'www-data', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
860            x create database twig;
861            x flush privileges;
862          x database-schema
863            x gunzip twig.table.mysql.gz
864            x mysql twig < twig.table.mysql
865            
866    x setup arbitrary packet and bind to csm-system (Collaborative Software Management)
867      x pinstall twig
868        x apt-get install twig
869        x cd /etc
870        x cvs add twig
871        x cd twig
872        x cvs add *
873        x cvs add .htaccess
874        x cvs commit -m "+ initial commit"
875      
876    
877    o remove html from phpWiki: ('http://'!!!) (->https!!!)
878      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
879        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
880      <link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
881      <link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.sourceforge.net/phpwiki/ThePhpWikiProgrammingTeam" />
882    
883    o force https for: (authentication purposes - anonymous is http!)
884      o horde
885      o tutos
886      
887    x dpkg -x twig_2.7.5-4_all.deb tmp/
888    
889    o TWIG & OpenLDAP!?
890    
891    x ApacheMasterLayoutRefactoring: quepasa.netfrag.org:
892      x removed /data/www/doc to /data/www/global/apps
893        x test:
894          x cd /data/www/virtual
895          x grep -ri "/data/www/doc" *
896          x cd /data/www/global
897            x grep -ri "/data/www/doc" *
898            x apps/twiki/
899              x lib/TWiki.cfg
900              x bin/.htaccess
901            x conf/twiki-httpd
902              ---> just change between 'global' and (e.g.) 'virtual/netfrag' for switching between scopes   ;-)
903              ---> the container (folder)-structure at global and sub-virtual level must match almost exactly to make this possible!!!!!
904            x conf/virtualdomains-httpd/
905            x doc/twiki/
906      x removed: /data/www/virtual/netfrag/pub to /data/www/virtual/netfrag/sites/public
907        x cd virtual/netfrag/conf
908          x grep -ri "/pub" *
909            x modify httpd.conf and applications.conf
910      x apachectl configtest
911        Syntax error on line 345 of /etc/apache/httpd.conf:
912        DocumentRoot must be a directory
913        x disabled there completely
914        x now in /data/www/global/conf/httpd.conf
915          DocumentRoot /data/www/virtual/netfrag/sites/public
916      x apachectl configtest
917        fopen: No such file or directory
918        apache: could not open document config file /data/www/conf/twiki-httpd.conf
919        x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/
920        x nano /data/www/virtual/netfrag/conf/applications.conf to match new path
921      x apachectl configtest
922        fopen: No such file or directory
923        apache: could not open document config file /data/www/conf/tutos-httpd.conf
924        x cd virtual/netfrag
925        x grep -rin "www/conf" *
926        x edit applications.conf:21
927          x was: Include /data/www/conf/tutos-httpd.conf
928          x is: Include /data/www/global/conf/tutos-httpd.conf
929      x apachectl configtest
930        Warning: DocumentRoot [/data/www/virtual/netfrag/sites/webnews] does not exist
931        fopen: No such file or directory
932        apache: could not open document config file /data/www/conf/dynamic.conf
933        x grep -rin webnews *
934          x edit applications.conf:30
935            x was: Alias /webnews/ /data/www/global/apps/newsportal/
936            x is: Alias /webnews/ /data/www/global/apps/newsportal/
937          x edit httpd.conf:74
938            x was: DocumentRoot /data/www/virtual/netfrag/sites/webnews
939            x is: DocumentRoot /data/www/virtual/netfrag/sites/news
940         x cd global/conf
941         x grep -rin www/conf *
942          x STDOUT-PARSE:
943            httpd.conf:14:#Include /data/www/conf/httpd-php-perl.conf
944            httpd.conf:16:#Include /data/www/conf/virtualdomains-httpd.conf
945            httpd.conf:29:Include /data/www/conf/dynamic.conf
946              ->FILE-MODIFY: httpd.conf:29:Include /data/www/global/conf/dynamic.conf
947      x apachectl configtest
948          root@quepasa:/data/www/global/conf# apachectl configtest
949          configuring dynamic domain "golf5.de"
950          configuring dynamic domain "smartmen.de"
951          configuring dynamic domain "ballonflug.de"
952          Syntax OK
953      x /etc/init.d/apache restart
954      x testing "http://netfrag.org/" fails
955      x testing "http://netfrag.org/index.php"
956        x makes redirect to "http://netfrag.org/nfoweb/" but fails there
957      x tail -f tail -f /data/www/virtual/netfrag/log/error_log
958        [Sun Jan 26 15:32:04 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
959        [Sun Jan 26 15:33:02 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
960        [Sun Jan 26 16:37:37 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
961        [Sun Jan 26 16:38:08 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
962        [Sun Jan 26 16:40:10 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
963    
964    
965    o register:
966      public.netfrag.org -> http://netfrag.org
967      secure.netfrag.org -> https://netfrag.org
968      
969    o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/!
970    o netfrag.org: DispatchRequest for http://netfrag.org/rrr/!
971    
972    o IntroduceMergePoint at http://netfrag.org/doc/
973      o MiniHowto
974      o faqs (e.g. from news://news.netfrag.org/nfo.faq.users
975    
976    o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or
977      o an AUTOCOMMIT on that very event (maybe integrated with a counter)
978      
979    o write scripts to iterate recursively through directories under specified path ...
980      o ... and do some actions on each directory, e.g.
981      o execute some specified .dot-files (e.g. .pod2htmlrc, .symlinkrc, .makedocrc)
982      
983    x CVSSpam in action:
984      10146 ?        S      0:00 /usr/sbin/sshd
985      10148 ?        S      0:00 /usr/sbin/sshd
986      10149 ?        S      0:00 cvs server
987      10150 ?        S      0:00 cvs server
988      10151 ?        S      0:00 /bin/login
989      10155 ?        S      0:00 /usr/bin/ruby -w /var/lib/cvs/CVSROOT/collect_diffs.rb --to joko@netfrag
990      10158 ?        S      0:00 /usr/bin/ruby /var/lib/cvs/CVSROOT/cvsspam.rb /tmp/#cvs.loginfo.10149.10
991      
992    x as Chora'sStylesheet has come active (by accident) when viewing this file view web
993       we should include this as a fixed default making horde our default stylesheet delivery engine (for now)
994    
995    o link-checker for netfrag.org
996    
997    o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />?
998      o styleme.php
999      o brandme.php
1000      
1001    
1002    
1003    o mini-howto: "HttpRedirect"
1004    
1005    o how to refactor the MiniHowtos?
1006      o into a wiki? wikis seem to miss offline/distributed capabilities! (for now)
1007      x into pod
1008        x build offline
1009        o build online
1010      o into DocBook?
1011      o into tavi? (or "TaviWorkflow"?)
1012      o but: LinkWithWikiAutomagically to get everything together
1013        o look at the InterwikiMechanism
1014        o look at the various WikiPluginArchitectures
1015        o look at YakkaDev!
1016    
1017    o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]!
1018      o this could mean:
1019        o use the declared formats as output filters for viewing target in other formats / styles
1020    
1021    o proposal for hierarchical structure (and HomePage) of netfrag.org
1022      ~overview -> SomeWiki -> Overview
1023        ~projects (include some common text here)
1024        ~users (include some common text here)
1025          - Page: UserArea
1026          - Page: ~users
1027      ~projects -> SomeWiki-> Projects
1028      ~users (include former page "User area" (now UserArea) automagically at the bottom here! (WikiInclude?))
1029        ~rabit (raBit's router - psl.no-ip.com)
1030        ~natraj (sam's place - optix)
1031        ~joko (joko's)
1032        ~bareface (->yakka)
1033    
1034    o MasterWorkflow:
1035      -> TheThreeGoodThings
1036        -> HaveIdea -> WriteDown (RefactorLater) -> WriteDownMore -> WriteDownAssociations -> WriteDownEvenMoreIfNotStoppedByExternalInfluences
1037        -> RefactorIdeas -> Categorize -> AddNotes -> AddTasks
1038        -> DoThings -> ReadTasks -> DoTasks
1039      -> TheFourthBadThing: TimeTrackAllThis  ;-)  (it seems to be not so far away....)
1040    
1041    o what do we need / what do we do?
1042      --- researcher
1043        o OnlineReading
1044        (o SelectItemsForDownload)  <- want-to-have
1045        (o DownloadItems)  <- want-to-have
1046      --- researcher
1047        o OfflineReading
1048        x ClumsyOfflineReading  <- status-quo
1049          (o NiceOfflineReading)  <- want-to-have
1050          (o OfflineArchiving)  <- want-to-have
1051        o OfflineEditing (text, html, pod, tavi)
1052        o OnlinePublishing (<all - everything what has been rendered or archived offline>)
1053      --- engine
1054        o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz)
1055          o OfflineRendering (html, text, pdf, chm)
1056      --- reader
1057        o OnlineReading (<everything that has been published>)
1058        (o SelectItemsForDownload)  <- want-to-have
1059        (o DownloadItems)  <- want-to-have
1060        o OfflineReading (pdf, chm)
1061    
1062    o link to http://teamsonar.no-ip.com
1063    
1064    o mail announces to announce@netfrag.org
1065    
1066    o no symlinks in webroot anymore? use ApacheAliases?
1067    
1068    o MiniHowto: NfoLinkageSystem(->news.nfo.announce)
1069      o this declaration could mean:
1070        o UseResources:
1071          o look up "NfoLinkageSystem" as subject in newsgroup "news.nfo.announce" on default newsserver
1072        o RenderThisWay:
1073          o embed into document - html3
1074          o embed into document - dhtml (ExpandTree, CollapseTree)
1075          o LinkToIt (JumpToMechanism(->minihowto))
1076    
1077    o php: appcontrol: reads .appcontrolrc-files recursively from directories and adds/removes users or sets passwords
1078        according to specification in there
1079    
1080    o source-code parser which creates documentation with wiki techniques
1081      o pod2tavi -> tavi2html
1082      o phpDoc <- tavi-plugin?
1083    
1084    o integrate yakka and newsportal:
1085      o make a yakka-page of embedded news-articles / threads / thread-parts (a NewsComposition) (->YakkaPageMetadata)
1086        o article-sources
1087          o all items from one news-server
1088          o !!! from different news-servers !!!
1089        o add a "CommentThis"-links to each item when rendering
1090        o when user posts the answer on YakkaEditPage
1091          o make yakka post to the article's associated news-server (read from YakkaItemMetadata)
1092          o wait until new article is published, then ...
1093            o ... add to NewsComposition (update YakkaPageMetadata) (->AsynchronousBackendDaemon)
1094            o ... use/introduce a MetaItem "New" into YakkaPageMetadata (at TopLevel)
1095              which shows NewItems(->self, ->live) per thread or newsgroup
1096      
1097    o download this and that - e.g.:
1098      o phpMyadmin(->archive.software.phpMyAdmin)
1099        o this requires 'archive.software' to have ...
1100          o ... a ListSearchHandler (searches nodelist below 'archive.software' only)
1101          o ... a RecursiveSearchHandler (searches nodelist below 'archive.software' and all subfolders recursively)
1102          o make this available as a ResourceHandler via a DispatchRequest sitting at
1103            o http://netfrag.org/archive/?base=software&search=phpMyAdmin
1104            o http://archive.netfrag.org/
1105    
1106    x rename newsgroup nfo.csm to nfo.caesar (Collaborative And Easy System Management)
1107      x ctlinnd newgroup nfo.caesar
1108      x /etc/init.d/inn stop
1109      x cd /var/spool/news/nfo
1110      x cp csm/* caesar/
1111      x cd caesar
1112      (x movearticle ...)
1113      o chown news.news *
1114      o /usr/lib/news/bin/makehistory
1115      x THIS FAILED! DON'T DO IT
1116      
1117    o MiniHowto: KerberizedSystem (->~jonen)
1118    
1119    o RefWords -> LookUpDb -> SearchDb
1120    
1121    x added first news-article which refers/references to another one in another newsgroup
1122       <a href="http://news.netfrag.org/nfo.caesar/id/1">Requirement: LDAP For Aliases, Maps, And Classes</a>
1123       o PARSER-TODO: RefactorThisLink
1124    
1125    
1126    
1127  </pre>  </pre>
1128    
1129    <hr/>
1130    $Id$
1131    
1132  </body>  </body>
1133  </html>  </html>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.71

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