amuse-wiki:amuse-wiki.git
6 years agoRemoved duplicated code
Marco [Sun, 29 Apr 2012 14:06:37 +0000 (16:06 +0200)]
Removed duplicated code

6 years agoAdded the utils (to be rewritten now)
Marco [Sun, 29 Apr 2012 14:05:02 +0000 (16:05 +0200)]
Added the utils (to be rewritten now)
new file:   utils/muse-importer.pl

6 years agoUse the new module to import the HTML
Marco [Sun, 29 Apr 2012 14:02:40 +0000 (16:02 +0200)]
Use the new module to import the HTML

6 years agoRenamed function to match the old one
Marco [Sun, 29 Apr 2012 14:01:39 +0000 (16:01 +0200)]
Renamed function to match the old one
modified:   Text-Muse-HTML-Importer/lib/Text/Muse/HTML/Importer.pm
modified:   Text-Muse-HTML-Importer/t/Text-Muse-HTML-Importer.t

6 years agoUpdated gitignore
Marco [Sun, 29 Apr 2012 14:01:16 +0000 (16:01 +0200)]
Updated gitignore

6 years agoNew module for the importing.
Marco [Sun, 29 Apr 2012 13:54:05 +0000 (15:54 +0200)]
New module for the importing.

  *  edited              Text-Muse-HTML-Importer/Makefile.PL
  *  edited              Text-Muse-HTML-Importer/lib/Text/Muse/HTML/Importer.pm
  *  edited              Text-Muse-HTML-Importer/t/Text-Muse-HTML-Importer.t

It doesn't use global package variables for stacking. Instead, use the
HTML::PullParser which looks more natural to me.

The tests from the AmuseWiki work, and I added a dozen more.

6 years agoAdded skeleton for the importer
Marco [Sun, 29 Apr 2012 12:00:40 +0000 (14:00 +0200)]
Added skeleton for the importer

6 years agoAdded script to merge master into each lang-branch
Marco [Sat, 28 Apr 2012 09:00:49 +0000 (11:00 +0200)]
Added script to merge master into each lang-branch

6 years agoFixed warning
Marco [Sat, 28 Apr 2012 07:52:51 +0000 (09:52 +0200)]
Fixed warning

  *  edited              Text-Muse/lib/Text/Muse.pm

6 years agoCleaned up shortcuts to inline tags. Added tests
Marco [Sat, 28 Apr 2012 07:47:20 +0000 (09:47 +0200)]
Cleaned up shortcuts to inline tags. Added tests

  *  edited              Text-Muse/lib/Text/Muse.pm
  *  edited              Text-Muse/t/Text-Muse.t

6 years agoTweaked the CSS for the forms
Marco [Fri, 27 Apr 2012 18:02:50 +0000 (20:02 +0200)]
Tweaked the CSS for the forms

6 years agoFixed border on "a img", looks like we got some problems with older browser
Marco [Fri, 27 Apr 2012 16:56:10 +0000 (18:56 +0200)]
Fixed border on "a img", looks like we got some problems with older browser

6 years agonginx! reduce the workers, we're buffered
Marco [Thu, 26 Apr 2012 18:16:00 +0000 (20:16 +0200)]
nginx! reduce the workers, we're buffered

6 years agoShrink the output
Marco [Wed, 25 Apr 2012 18:09:48 +0000 (20:09 +0200)]
Shrink the output

  *  edited              Text-Muse/bin/muse-daemon.pl

6 years agoFixed relative path in the static indexes
Marco [Wed, 25 Apr 2012 17:57:12 +0000 (19:57 +0200)]
Fixed relative path in the static indexes

  *  edited              templates/static-indexes/authors.html.tt
  *  edited              templates/static-indexes/titles.html.tt
  *  edited              templates/static-indexes/topics.html.tt

6 years agoAdded the job of muse-indexer.pl to muse-daemon.pl
Marco [Wed, 25 Apr 2012 17:14:38 +0000 (19:14 +0200)]
Added the job of muse-indexer.pl to muse-daemon.pl

So we have always an emergency copy of the archive, and we can test
the torrent in a smart fashion.

modified:   Text-Muse/bin/muse-daemon.pl
new file:   templates/static-indexes/authors.html.tt
new file:   templates/static-indexes/foot.tt
new file:   templates/static-indexes/head.tt
new file:   templates/static-indexes/titles.html.tt
new file:   templates/static-indexes/topics.html.tt

6 years agoTry --preload-app (which should be safe) and 8 workers.
Marco [Wed, 25 Apr 2012 14:56:07 +0000 (16:56 +0200)]
Try --preload-app (which should be safe) and 8 workers.

6 years agoUse "none" as default stemmer
Marco [Wed, 25 Apr 2012 14:46:00 +0000 (16:46 +0200)]
Use "none" as default stemmer

  *  edited              Text-Muse/lib/Text/Muse/Wiki/Search.pm
  *  edited              Text-Muse/t/Text-Muse-Wiki-Search.t

6 years agoAlways try to refresh the database.
Marco [Mon, 23 Apr 2012 17:24:23 +0000 (19:24 +0200)]
Always try to refresh the database.

I don't think this slow things down. It's just a matter of looking at
the timestamp of a file

6 years agoIncrease the number of workers to 15.
Marco [Mon, 23 Apr 2012 17:05:28 +0000 (19:05 +0200)]
Increase the number of workers to 15.

It doesn't seem to consume *much* more memory

  *  edited              AmuseWiki/start-app.sh

6 years agoDisable dangerous middlewares
Marco [Mon, 23 Apr 2012 17:04:41 +0000 (19:04 +0200)]
Disable dangerous middlewares

6 years agoAdded typographical rules for russian
Marco [Sun, 22 Apr 2012 17:55:19 +0000 (19:55 +0200)]
Added typographical rules for russian

  *  edited              Text-Muse/lib/Text/Muse/Preprocessing.pm
  *  edited              Text-Muse/t/Text-Muse-Preprocessing.t

6 years agoAdded char table for polish
Marco [Sat, 21 Apr 2012 16:35:56 +0000 (18:35 +0200)]
Added char table for polish

  *  edited              Text-Muse/lib/Text/Muse/Utils.pm
  *  edited              Text-Muse/t/Text-Muse-Utils.t

6 years agoIncreaded the min-width of the banner
Marco [Sat, 21 Apr 2012 16:03:33 +0000 (18:03 +0200)]
Increaded the min-width of the banner

6 years agoUse a more elaborated method to output the list of authors
Marco [Sat, 21 Apr 2012 15:47:41 +0000 (17:47 +0200)]
Use a more elaborated method to output the list of authors

This is needed to avoid parens surrounded by spaces

  *  edited              AmuseWiki/views/singletopics.tt
  *  edited              AmuseWiki/views/titles.tt

6 years ago new file: logo.pdf
Marco [Sat, 21 Apr 2012 15:00:51 +0000 (17:00 +0200)]
new file:   logo.pdf

6 years agoAdded "printer-friendly" version of the HTML
Marco [Sat, 21 Apr 2012 14:09:04 +0000 (16:09 +0200)]
Added "printer-friendly" version of the HTML
new file:   AmuseWiki/public/images/pf-html.png
modified:   AmuseWiki/views/page.tt

6 years agoFixed again
Marco [Sat, 21 Apr 2012 10:59:15 +0000 (12:59 +0200)]
Fixed again

6 years agoFix the compiler
Marco [Sat, 21 Apr 2012 10:57:13 +0000 (12:57 +0200)]
Fix the compiler

6 years agoAdded russian to the compiler
Marco [Sat, 21 Apr 2012 10:40:21 +0000 (12:40 +0200)]
Added russian to the compiler

6 years agoImproved the global-compiler.sh (configuration less error-prone)
Marco [Sat, 21 Apr 2012 09:10:12 +0000 (11:10 +0200)]
Improved the global-compiler.sh (configuration less error-prone)

6 years agoAnother fix
Marco [Fri, 20 Apr 2012 17:50:28 +0000 (19:50 +0200)]
Another fix

6 years agoFixed CSS for footnotes
Marco [Fri, 20 Apr 2012 17:43:44 +0000 (19:43 +0200)]
Fixed CSS for footnotes

6 years agoFixed templates and CSS
Marco [Fri, 20 Apr 2012 17:34:15 +0000 (19:34 +0200)]
Fixed templates and CSS

  *  edited              AmuseWiki/public/css/style.css
  *  edited              AmuseWiki/views/page.tt
  *  edited              AmuseWiki/views/special.tt
  *  edited              AmuseWiki/views/layouts/main.tt

6 years agoPorted old style. Tweaked the main.tt
Marco [Fri, 20 Apr 2012 14:54:25 +0000 (16:54 +0200)]
Ported old style. Tweaked the main.tt

  *  edited              AmuseWiki/public/css/style.css
  *  added               AmuseWiki/public/css/images/bg-soft.png
  *  edited              AmuseWiki/views/layouts/main.tt

6 years agoUpdated doc
Marco [Mon, 16 Apr 2012 09:49:25 +0000 (11:49 +0200)]
Updated doc

  *  edited              doc/CREDITS.muse
  *  edited              doc/INSTALL.muse

6 years agoCherry picked. author is not mandatory anymore
Marco [Mon, 16 Apr 2012 09:38:12 +0000 (11:38 +0200)]
Cherry picked. author is not mandatory anymore

Fixed templates to support lack of author. Maybe it should be cherry-picked?

  *  edited              AmuseWiki/views/singletopics.tt
  *  edited              AmuseWiki/views/titles.tt
  *  edited              AmuseWiki/views/layouts/main.tt

Conflicts:

AmuseWiki/views/layouts/main.tt
AmuseWiki/views/singletopics.tt
AmuseWiki/views/titles.tt

6 years agoAdded email notifications for editings
Marco [Mon, 16 Apr 2012 09:29:05 +0000 (11:29 +0200)]
Added email notifications for editings

  *  edited              AmuseWiki/config.yml
  *  edited              AmuseWiki/lib/AmuseWiki.pm
  *  edited              AmuseWiki/views/postform.tt

6 years agoAdded the notification function
Marco [Mon, 16 Apr 2012 08:05:06 +0000 (10:05 +0200)]
Added the notification function

  *  added               AmuseWiki/lib/AmuseWiki/Notifications.pm
  *  added               AmuseWiki/t/AmuseWiki-Notifications.t

6 years agoAdded the "link" tag to the RSS, or some readers will go crazy
Marco [Sun, 15 Apr 2012 11:49:52 +0000 (13:49 +0200)]
Added the "link" tag to the RSS, or some readers will go crazy

6 years agoFixe
Marco [Sun, 15 Apr 2012 09:13:18 +0000 (11:13 +0200)]
Fixe

6 years agoImproved formatting of the message
Marco [Sun, 15 Apr 2012 09:11:48 +0000 (11:11 +0200)]
Improved formatting of the message

6 years agoBind starman to localhost
Marco [Sat, 14 Apr 2012 13:06:27 +0000 (15:06 +0200)]
Bind starman to localhost

6 years agoImproved the footnote cleaner
Marco [Sat, 14 Apr 2012 12:31:30 +0000 (14:31 +0200)]
Improved the footnote cleaner

6 years agoAdded the footnote cleaner
Marco [Sat, 14 Apr 2012 12:15:06 +0000 (14:15 +0200)]
Added the footnote cleaner

6 years agoFixed the missing or wrong title in the indexes
Marco [Sat, 14 Apr 2012 10:34:18 +0000 (12:34 +0200)]
Fixed the missing or wrong title in the indexes

  *  edited              AmuseWiki/lib/AmuseWiki.pm

6 years agoNicely format the git log
Marco [Sat, 14 Apr 2012 09:41:42 +0000 (11:41 +0200)]
Nicely format the git log

  *  edited              AmuseWiki/lib/AmuseWiki.pm
  *  edited              AmuseWiki/lib/AmuseWiki/Helpers.pm
  *  edited              AmuseWiki/t/AmuseWiki-Helpers.t

6 years agorefactored the filtering on the web
Marco [Sat, 14 Apr 2012 09:08:27 +0000 (11:08 +0200)]
refactored the filtering on the web

6 years agoRefined the preprocessors (don't destroy the list with the dashes)
Marco [Sat, 14 Apr 2012 08:46:43 +0000 (10:46 +0200)]
Refined the preprocessors (don't destroy the list with the dashes)

  *  edited              lib/Text/Muse/Preprocessing.pm
  *  edited              t/Text-Muse-Preprocessing.t

6 years agoFixed config/template mismatch
Marco [Fri, 13 Apr 2012 16:29:09 +0000 (18:29 +0200)]
Fixed config/template mismatch

  *  edited              AmuseWiki/config.yml
  *  edited              AmuseWiki/views/newentry.tt

6 years agoadded the yu branch
Marco [Mon, 9 Apr 2012 13:20:06 +0000 (15:20 +0200)]
added the yu branch

6 years agoTuned the linkifier
Marco [Mon, 9 Apr 2012 09:25:52 +0000 (11:25 +0200)]
Tuned the linkifier

  *  edited              Text-Muse/lib/Text/Muse/Preprocessing.pm
  *  edited              Text-Muse/t/Text-Muse-Preprocessing.t

6 years agoAdded croatian-serbian typographical filters
Marco [Tue, 3 Apr 2012 14:37:58 +0000 (16:37 +0200)]
Added croatian-serbian typographical filters

  *  edited              Text-Muse/lib/Text/Muse/Preprocessing.pm
  *  edited              Text-Muse/lib/Text/Muse/Utils.pm
  *  edited              Text-Muse/t/Text-Muse-Preprocessing.t
  *  edited              Text-Muse/t/Text-Muse-Utils.t

6 years agoaestetics
Marco [Tue, 27 Mar 2012 16:53:45 +0000 (18:53 +0200)]
aestetics

6 years agoWork around the 502 thing
Marco [Tue, 27 Mar 2012 16:48:44 +0000 (18:48 +0200)]
Work around the 502 thing

  *  edited              AmuseWiki/start-app.sh
  *  edited              doc/apache.virtualhost.conf

6 years agoFixed previous commit
Marco [Tue, 27 Mar 2012 14:11:28 +0000 (16:11 +0200)]
Fixed previous commit

6 years agoAdded finnish typographical rules
Marco [Tue, 27 Mar 2012 13:56:30 +0000 (15:56 +0200)]
Added finnish typographical rules

  *  edited              Text-Muse/lib/Text/Muse/Preprocessing.pm
  *  edited              Text-Muse/t/Text-Muse-Preprocessing.t

6 years agoAdded support for different typographical rules
Marco [Tue, 27 Mar 2012 13:38:25 +0000 (15:38 +0200)]
Added support for different typographical rules

  *  edited              AmuseWiki/config.yml
  *  edited              AmuseWiki/lib/AmuseWiki.pm

6 years agoAdded a warning
Marco [Sun, 25 Mar 2012 19:46:57 +0000 (21:46 +0200)]
Added a warning

modified:   global-compiler.sh

6 years agoPrevent the global-compiler.sh to run as root
Marco [Sun, 25 Mar 2012 14:04:20 +0000 (16:04 +0200)]
Prevent the global-compiler.sh to run as root

6 years agoAdded finnish characters to the table
Marco [Sun, 25 Mar 2012 11:40:05 +0000 (13:40 +0200)]
Added finnish characters to the table

  *  edited              Text-Muse/lib/Text/Muse/Utils.pm
  *  edited              Text-Muse/t/Text-Muse-Utils.t

6 years agoAdded apache virtualhost example
Marco [Sun, 25 Mar 2012 09:52:00 +0000 (11:52 +0200)]
Added apache virtualhost example

6 years agoFixed sitemap and legacy urls
Marco [Sun, 25 Mar 2012 09:48:32 +0000 (11:48 +0200)]
Fixed sitemap and legacy urls

  *  edited              AmuseWiki/lib/AmuseWiki.pm

6 years agoAdded the ReverseProxy middleware to the middlewares
Marco [Sun, 25 Mar 2012 08:49:15 +0000 (10:49 +0200)]
Added the ReverseProxy middleware to the middlewares

6 years agominor fixing
Marco [Sat, 24 Mar 2012 22:24:13 +0000 (23:24 +0100)]
minor fixing

6 years agoFixed tag cloud missing </a>
Marco [Sat, 24 Mar 2012 22:12:43 +0000 (23:12 +0100)]
Fixed tag cloud missing </a>

6 years agoAdded a marking to the debug
Marco [Sat, 24 Mar 2012 17:28:13 +0000 (18:28 +0100)]
Added a marking to the debug

6 years agoRemoved useless debug
Marco [Sat, 24 Mar 2012 17:20:43 +0000 (18:20 +0100)]
Removed useless debug

6 years agoAdded a restart option to the starman script
Marco [Sat, 24 Mar 2012 17:10:56 +0000 (18:10 +0100)]
Added a restart option to the starman script

6 years agoFix the damned script
Marco [Sat, 24 Mar 2012 17:01:56 +0000 (18:01 +0100)]
Fix the damned script

6 years agoAdded debug
Marco [Sat, 24 Mar 2012 16:40:58 +0000 (17:40 +0100)]
Added debug

6 years agoAdded debug
Marco [Sat, 24 Mar 2012 16:36:21 +0000 (17:36 +0100)]
Added debug

6 years agoAdded debug
Marco [Sat, 24 Mar 2012 16:32:52 +0000 (17:32 +0100)]
Added debug

6 years agoAdded a global compiler
Marco [Sat, 24 Mar 2012 16:19:11 +0000 (17:19 +0100)]
Added a global compiler

6 years agoThe script now starts only Starman
Marco [Sat, 24 Mar 2012 15:45:12 +0000 (16:45 +0100)]
The script now starts only Starman

6 years agoFix tests number
Marco [Sat, 24 Mar 2012 12:38:22 +0000 (13:38 +0100)]
Fix tests number
modified:   Text-Muse/t/Text-Muse-Preprocessing.t

6 years agoFixed linkifier
Marco [Sat, 24 Mar 2012 12:32:38 +0000 (13:32 +0100)]
Fixed linkifier
modified:   Text-Muse/lib/Text/Muse/Preprocessing.pm
modified:   Text-Muse/t/Text-Muse-Preprocessing.t

6 years agoReverted last 2 commits
Marco [Tue, 20 Mar 2012 09:56:22 +0000 (10:56 +0100)]
Reverted last 2 commits

6 years agoFix
Marco [Tue, 20 Mar 2012 09:54:01 +0000 (10:54 +0100)]
Fix

6 years agouse default author if SORTauthors is undefined
Marco [Tue, 20 Mar 2012 09:50:45 +0000 (10:50 +0100)]
use default author if SORTauthors is undefined

6 years agoFixed minor bug and added test
Marco [Tue, 20 Mar 2012 08:23:56 +0000 (09:23 +0100)]
Fixed minor bug and added test

  *  edited              Text-Muse/lib/Text/Muse/Postprocessing.pm
  *  edited              Text-Muse/t/Text-Muse-Postprocessing.t

6 years agoUpdated the templates with corret id (as it could start with a number)
Marco [Mon, 19 Mar 2012 18:58:32 +0000 (19:58 +0100)]
Updated the templates with corret id (as it could start with a number)

  *  edited              AmuseWiki/views/authors.tt
  *  edited              AmuseWiki/views/topics.tt
  *  edited              Text-Muse/bin/muse-indexer.pl
  *  edited              templates/html.tt

6 years agoRestored legacy url (also used for the printer-friendly version)
Marco [Mon, 19 Mar 2012 16:17:35 +0000 (17:17 +0100)]
Restored legacy url (also used for the printer-friendly version)

6 years agoEmbedded in the module the full default templates
Marco [Mon, 19 Mar 2012 15:31:25 +0000 (16:31 +0100)]
Embedded in the module the full default templates

  *  edited              Text-Muse/lib/Text/Muse/Formats.pm
  *  edited              Text-Muse/t/testfiles/10_theses.full.exp.html
  *  edited              Text-Muse/t/testfiles/10_theses.full.exp.tex
  *  edited              Text-Muse/t/testfiles/man.full.exp.html
  *  edited              Text-Muse/t/testfiles/man.full.exp.tex

6 years agoFixed templates bundled with Text::Muse
Marco [Mon, 19 Mar 2012 15:22:47 +0000 (16:22 +0100)]
Fixed templates bundled with Text::Muse

  *  edited              templates/html.tt
  *  edited              templates/tex.tt

6 years agomuse-indexer.pl (static building)
Marco [Mon, 19 Mar 2012 15:16:05 +0000 (16:16 +0100)]
muse-indexer.pl (static building)

The default directory for index templates is './000-views/static-indexes'

6 years agoAdded a moderated mode. Only authenticated will be able to edit/post
Marco [Mon, 19 Mar 2012 15:00:21 +0000 (16:00 +0100)]
Added a moderated mode. Only authenticated will be able to edit/post

  *  edited              AmuseWiki/config.yml
  *  edited              AmuseWiki/lib/AmuseWiki.pm

6 years agoDon't completely destroy the session on logout.
Marco [Sun, 18 Mar 2012 18:08:08 +0000 (19:08 +0100)]
Don't completely destroy the session on logout.

Instead, clear "user" and "authenticated"

6 years agoAdded warning
Marco [Sun, 18 Mar 2012 17:49:05 +0000 (18:49 +0100)]
Added warning

6 years agoGiven the correct <h4> to the form
Marco [Sun, 18 Mar 2012 13:39:26 +0000 (14:39 +0100)]
Given the correct <h4> to the form

6 years agoRemoved too verbose debug
Marco [Sun, 18 Mar 2012 13:11:49 +0000 (14:11 +0100)]
Removed too verbose debug

6 years agoFixed wrong legacy url
Marco [Sun, 18 Mar 2012 13:05:48 +0000 (14:05 +0100)]
Fixed wrong legacy url

6 years agoAdded the link to the manual in postform.tt
Marco [Sun, 18 Mar 2012 13:03:59 +0000 (14:03 +0100)]
Added the link to the manual in postform.tt

6 years agoCorrected the manual
Marco [Sun, 18 Mar 2012 12:57:11 +0000 (13:57 +0100)]
Corrected the manual

6 years agoMinor fix
Marco [Sat, 17 Mar 2012 19:38:43 +0000 (20:38 +0100)]
Minor fix

6 years agoUse Dancer::Session::Cookie in production
Marco [Fri, 16 Mar 2012 16:49:07 +0000 (17:49 +0100)]
Use Dancer::Session::Cookie in production

  *  edited              config.yml
  *  edited              environments/development.yml
  *  edited              environments/production.yml

6 years agoFixed sitemap. Use an old list of urls, without the host
Marco [Fri, 16 Mar 2012 16:43:18 +0000 (17:43 +0100)]
Fixed sitemap. Use an old list of urls, without the host

  *  edited              lib/AmuseWiki.pm

6 years agoHooked the textcha into the bookbuilder
Marco [Fri, 16 Mar 2012 16:27:30 +0000 (17:27 +0100)]
Hooked the textcha into the bookbuilder

  *  edited              AmuseWiki/lib/AmuseWiki.pm
  *  edited              AmuseWiki/views/bookbuilder.tt

6 years agoRefactored the bookbuilder front-end. Seems to work
Marco [Fri, 16 Mar 2012 16:17:13 +0000 (17:17 +0100)]
Refactored the bookbuilder front-end. Seems to work

  *  edited              AmuseWiki/lib/AmuseWiki.pm
  *  edited              AmuseWiki/views/bookbuilder.tt
  *  edited              AmuseWiki/views/bookbuilderstatus.tt

6 years agoAdded the antispam question for the uploading
Marco [Fri, 16 Mar 2012 12:54:05 +0000 (13:54 +0100)]
Added the antispam question for the uploading

  *  edited              config.yml
  *  edited              lib/AmuseWiki.pm
  *  edited              views/postform.tt