olelo 0.9.8 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/Rakefile +44 -10
- data/config.ru +4 -1
- data/lib/olelo/application.rb +1 -54
- data/lib/olelo/helper.rb +12 -7
- data/lib/olelo/initializer.rb +10 -13
- data/lib/olelo/locale.rb +7 -12
- data/lib/olelo/locale.yml +1 -36
- data/lib/olelo/plugin.rb +0 -12
- data/lib/olelo/routing.rb +1 -1
- data/lib/olelo/templates.rb +2 -3
- data/lib/olelo/util.rb +1 -1
- data/lib/olelo/version.rb +1 -1
- data/{views → lib/olelo/views}/delete.slim +0 -0
- data/{views → lib/olelo/views}/deleted.slim +0 -0
- data/{views → lib/olelo/views}/edit.slim +3 -3
- data/{views → lib/olelo/views}/error.slim +0 -0
- data/{views → lib/olelo/views}/layout.slim +1 -1
- data/{views → lib/olelo/views}/login.slim +1 -1
- data/{views → lib/olelo/views}/move.slim +0 -0
- data/{views → lib/olelo/views}/not_found.slim +0 -0
- data/{views → lib/olelo/views}/profile.slim +0 -0
- data/lib/olelo/views/show.slim +8 -0
- data/lib/olelo/virtualfs.rb +5 -29
- data/plugins/aspects/changelog.rb +3 -5
- data/plugins/aspects/documentbrowser.rb +24 -2
- data/plugins/aspects/download.rb +12 -0
- data/plugins/aspects/gallery/main.rb +9 -0
- data/plugins/aspects/highlight.rb +11 -0
- data/plugins/aspects/image.rb +12 -0
- data/plugins/aspects/imageinfo.rb +36 -2
- data/plugins/aspects/main.rb +16 -1
- data/plugins/aspects/pageinfo.rb +20 -2
- data/plugins/aspects/source.rb +12 -0
- data/plugins/aspects/subpages.rb +17 -1
- data/plugins/aspects/text.rb +12 -0
- data/plugins/blog/main.rb +4 -4
- data/plugins/editor/preview.rb +16 -0
- data/plugins/editor/recaptcha.rb +19 -0
- data/plugins/filters/editsection.rb +19 -0
- data/plugins/filters/locale.yml +11 -16
- data/plugins/filters/toc.rb +12 -0
- data/{views → plugins/history}/changes.slim +0 -0
- data/{views → plugins/history}/compare.slim +2 -2
- data/{views → plugins/history}/history.slim +1 -1
- data/plugins/history/locale.yml +40 -0
- data/plugins/history/main.rb +67 -0
- data/plugins/history/script.js +2 -0
- data/{static/script/12-olelo.historytable.js → plugins/history/script/00-historytable.js} +0 -0
- data/plugins/history/script/init.js +7 -0
- data/plugins/login/persistent.rb +11 -0
- data/plugins/repositories/git_grep.rb +19 -2
- data/plugins/repositories/gitrb_repository.rb +8 -0
- data/plugins/repositories/rugged_repository.rb +10 -0
- data/plugins/security/acl.rb +23 -0
- data/plugins/security/private_wiki.rb +11 -0
- data/plugins/utils/assets.rb +15 -21
- data/plugins/utils/store.rb +40 -19
- data/static/{images/favicon.png → favicon.png} +0 -0
- data/static/script.js +3 -5
- data/static/script/init.js +0 -1
- data/static/themes/atlantis/screen.scss +3 -3
- data/static/themes/atlantis/style.css +1 -1
- data/test/templates_test.rb +3 -11
- metadata +47 -49
- data/plugins/aspects/locale.yml +0 -87
- data/plugins/editor/locale.yml +0 -20
- data/plugins/login/locale.yml +0 -8
- data/plugins/repositories/locale.yml +0 -16
- data/plugins/security/locale.yml +0 -24
- data/views/show.slim +0 -8
data/plugins/aspects/locale.yml
DELETED
@@ -1,87 +0,0 @@
|
|
1
|
-
cs_CZ:
|
2
|
-
aspect_documentbrowser: 'Document Browser'
|
3
|
-
aspect_download: 'Stažení (neupraveno)'
|
4
|
-
aspect_gallery: 'Galerie'
|
5
|
-
aspect_highlight: 'Zvýrazněný zdroj'
|
6
|
-
aspect_image: 'Stažení obrázku'
|
7
|
-
aspect_imageinfo: 'Informace o obrázku'
|
8
|
-
aspect_latex: 'LaTeX'
|
9
|
-
aspect_not_available: 'Vzhled %{aspect} není k dispozici pro stránku %{page} s typem %{type}.'
|
10
|
-
aspect_pageinfo: 'Informace o stránce'
|
11
|
-
aspect_source: 'Zdroj stránky'
|
12
|
-
aspect_subpages: 'Podstránky'
|
13
|
-
aspect_text: 'Stažení textu'
|
14
|
-
attribute_aspect: 'Přednastavený vzhled'
|
15
|
-
download: 'Stáhnout'
|
16
|
-
entry: 'Položka'
|
17
|
-
exif: 'Informace EXIF'
|
18
|
-
geometry: 'Geometrie'
|
19
|
-
information: 'Informace'
|
20
|
-
type: 'Typ'
|
21
|
-
value: 'Hodnota'
|
22
|
-
de:
|
23
|
-
aspect_documentbrowser: 'Dokumentenbrowser'
|
24
|
-
aspect_download: 'Herunterladen'
|
25
|
-
aspect_gallery: 'Bildergalerie'
|
26
|
-
aspect_highlight: 'Quellcode mit Syntaxhighlighting'
|
27
|
-
aspect_image: 'Bild'
|
28
|
-
aspect_imageinfo: 'Bild-Information'
|
29
|
-
aspect_latex: 'LaTeX'
|
30
|
-
aspect_not_available: 'Aspekt %{aspect} für die Seite %{page} mit dem Typ %{type} ist nicht verfügbar.'
|
31
|
-
aspect_pageinfo: 'Seiten-Information'
|
32
|
-
aspect_s5: 'S5 Präsentation'
|
33
|
-
aspect_source: 'Quellcode'
|
34
|
-
aspect_subpages: 'Unterseiten'
|
35
|
-
aspect_text: 'Quellcode herunterladen'
|
36
|
-
attribute_aspect: 'Standard-Ansicht'
|
37
|
-
download: 'Herunterladen'
|
38
|
-
entry: 'Eintrag'
|
39
|
-
exif: 'EXIF-Information'
|
40
|
-
geometry: 'Geometrie'
|
41
|
-
information: 'Information'
|
42
|
-
type: 'Typ'
|
43
|
-
value: 'Wert'
|
44
|
-
en:
|
45
|
-
aspect_documentbrowser: 'Document Browser'
|
46
|
-
aspect_download: 'Raw Download'
|
47
|
-
aspect_gallery: 'Image Gallery'
|
48
|
-
aspect_highlight: 'Highlighted Source'
|
49
|
-
aspect_image: 'Raw Image'
|
50
|
-
aspect_imageinfo: 'Image Information'
|
51
|
-
aspect_latex: 'LaTeX'
|
52
|
-
aspect_not_available: 'Aspect %{aspect} is not available for page %{page} with type %{type}.'
|
53
|
-
aspect_pageinfo: 'Page Information'
|
54
|
-
aspect_s5: 'S5 Presentation'
|
55
|
-
aspect_source: 'Page Source'
|
56
|
-
aspect_subpages: 'Subpages'
|
57
|
-
aspect_text: 'Text Download'
|
58
|
-
attribute_aspect: 'Default Aspect'
|
59
|
-
download: 'Download'
|
60
|
-
entry: 'Entry'
|
61
|
-
exif: 'EXIF Information'
|
62
|
-
geometry: 'Geometry'
|
63
|
-
information: 'Information'
|
64
|
-
type: 'Type'
|
65
|
-
value: 'Value'
|
66
|
-
fr:
|
67
|
-
aspect_documentbrowser: "Explorateur de fichier"
|
68
|
-
aspect_download: "Téléchargement brut"
|
69
|
-
aspect_gallery: "Galerie d'images"
|
70
|
-
aspect_highlight: "Source mise en valeur"
|
71
|
-
aspect_image: "Image brute"
|
72
|
-
aspect_imageinfo: "Information sur l'image"
|
73
|
-
aspect_latex: "LaTeX"
|
74
|
-
aspect_not_available: "L'aspect %{aspect} n'est pas disponible pour la page %{page} avec le type %{type}."
|
75
|
-
aspect_pageinfo: "Page d'information"
|
76
|
-
aspect_s5: "Presentation S5 "
|
77
|
-
aspect_source: "Source de la page"
|
78
|
-
aspect_subpages: "Sous-pages"
|
79
|
-
aspect_text: "Téléchargement en texte"
|
80
|
-
attribute_aspect: "Aspect par défaut"
|
81
|
-
download: "Télécharger"
|
82
|
-
entry: "Entrée"
|
83
|
-
exif: "Information EXIF"
|
84
|
-
geometry: "Geometrie"
|
85
|
-
information: "Information"
|
86
|
-
type: "Type"
|
87
|
-
value: "Valeur"
|
data/plugins/editor/locale.yml
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
cs_CZ:
|
2
|
-
captcha_invalid: 'Neplatný captcha kód'
|
3
|
-
captcha_valid: 'Platný captcha kód'
|
4
|
-
enter_captcha: 'Vložte laskavě captcha kód.'
|
5
|
-
preview: 'Náhled'
|
6
|
-
de:
|
7
|
-
captcha_invalid: 'Ungültiges Captcha'
|
8
|
-
captcha_valid: 'Gültiges Captcha'
|
9
|
-
enter_captcha: 'Bitte geben Sie ein Captcha ein.'
|
10
|
-
preview: Vorschau
|
11
|
-
en:
|
12
|
-
captcha_invalid: Invalid captcha
|
13
|
-
captcha_valid: Valid captcha
|
14
|
-
enter_captcha: 'Please enter the captcha.'
|
15
|
-
preview: Preview
|
16
|
-
fr:
|
17
|
-
captcha_invalid: "Captcha invalide"
|
18
|
-
captcha_valid: "Captcha valide"
|
19
|
-
enter_captcha: "Veuillez entrer le captcha."
|
20
|
-
preview: "Prévisualisez"
|
data/plugins/login/locale.yml
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
cs_CZ:
|
2
|
-
match: 'Jeden výsledek'
|
3
|
-
match_plural: '%{count} výsledků'
|
4
|
-
search_results: 'Výsledky hledání pro %{pattern}'
|
5
|
-
de:
|
6
|
-
match: 'Ein Treffer'
|
7
|
-
match_plural: '%{count} Treffer'
|
8
|
-
search_results: 'Suchergebnisse für %{pattern}'
|
9
|
-
en:
|
10
|
-
match: 'One match'
|
11
|
-
match_plural: '%{count} matches'
|
12
|
-
search_results: 'Search results for %{pattern}'
|
13
|
-
fr:
|
14
|
-
match: "Une correspondance"
|
15
|
-
match_plural: "%{count} correspondaces"
|
16
|
-
search_results: "Chercher les résultats pour %{pattern}"
|
data/plugins/security/locale.yml
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
cs_CZ:
|
2
|
-
attribute_acl_create: 'Vytvářet podstránky'
|
3
|
-
attribute_acl_delete: 'Mazat podstránky'
|
4
|
-
attribute_acl_write: 'Právo zápisu'
|
5
|
-
group_acl: 'Řízení přístupů (ACL)'
|
6
|
-
login_first: 'Musíte se nejprve přihlásit'
|
7
|
-
de:
|
8
|
-
attribute_acl_create: 'Unterseiten anlegen'
|
9
|
-
attribute_acl_delete: 'Unterseiten löschen'
|
10
|
-
attribute_acl_write: 'Schreibzugriff'
|
11
|
-
group_acl: 'Zugriffslisten'
|
12
|
-
login_first: 'Sie müssen sich zuerst anmelden'
|
13
|
-
en:
|
14
|
-
attribute_acl_create: 'Create subpages'
|
15
|
-
attribute_acl_delete: 'Delete subpages'
|
16
|
-
attribute_acl_write: 'Write access'
|
17
|
-
group_acl: 'Access control lists'
|
18
|
-
login_first: 'You have to login first'
|
19
|
-
fr:
|
20
|
-
attribute_acl_create: "Créer sous-pages"
|
21
|
-
attribute_acl_delete: "Supprimer sous-pages"
|
22
|
-
attribute_acl_write: "Accès en écriture"
|
23
|
-
group_acl: "Liste de contrôle des accès"
|
24
|
-
login_first: "Vous devez d'abord vous connecter"
|
data/views/show.slim
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
- title page.title
|
2
|
-
= footer do
|
3
|
-
= define_block :version_link do
|
4
|
-
a.version href=build_path(page, version: page.version, force_version: true) title=page.version = page.version.short
|
5
|
-
== :version_by.t(version: blocks[:version_link], author: escape_html(page.version.author.name), date: date(page.version.date))
|
6
|
-
- if !page.attributes['no_title']
|
7
|
-
h1= title
|
8
|
-
== content
|