Wiki source code of Features
Version 6.2 by Vincent Massol on 2017/09/07
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity filter="html"}} | ||
2 | #macro(displayFeatures $map) | ||
3 | #foreach ($item in $map) | ||
4 | #if ($foreach.count % 2 == 1) | ||
5 | $nl | ||
6 | #end | ||
7 | |(%class='featureIcon'%)[[image:$item['icon']]]|(%class='featureDescription'%)((( | ||
8 | $item['link']$nl | ||
9 | $item['description'] | ||
10 | ))) | ||
11 | #end | ||
12 | #end | ||
13 | {{/velocity}} | ||
14 | |||
15 | {{velocity}} | ||
16 | ## ============= | ||
17 | ## Base Features | ||
18 | ## ============= | ||
19 | #set ($discard=$xwiki.ssx.use('platform:Features.FeaturesExtract')) | ||
20 | #set ($basicMap = [ | ||
21 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-select-all.png', 'link' : '[[Page editing>>platform:Features.PageEditing]]', 'description' : 'Use simple [[wiki syntax>>platform:Main.XWikiSyntax]] to format text, create tables, create links, display images, etc. Alternatively use a powerful [[WYSIWYG editor>>extensions:Extension.CKEditor Integration.WebHome]] to edit the content of documents.'}, | ||
22 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@document-open.png', 'link' : '[[Version Control>>platform:Features.VersionControl]]', 'description' : 'Any change made in XWiki is saved under version control, meaning you can view any previous version of a page, compare different versions or rollback to any past version.'}, | ||
23 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-undo.png', 'link' : '[[Imports>>platform:Features.Imports]]', 'description' : 'Import content inside XWiki: Office, XWiki pages, Other wiki content, Excel, CSV, etc.'}, | ||
24 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-redo.png', 'link' : '[[Exports>>platform:Features.Exports]]', 'description' : 'Export wiki pages to PDF, ODT, RTF, XML or HTML.'}, | ||
25 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@applications-internet.png', 'link' : '[[Content Organization>>platform:Features.ContentOrganization]]', 'description' : 'Organize your Documents by grouping them together by domain.'}, | ||
26 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@accessories-text-editor.png', 'link' : '[[Programming>>platform:Features.Programming]]', 'description' : "Use XWiki's programming API directly into your pages (Velocity or Groovy) to perform advanced formatting, layout or anything really."}, | ||
27 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@package-x-generic.png', 'link' : '[[Applications, Extensions & Flavors>>platform:Features.Applications]]', 'description' : 'Create or use add-ons to your wiki in the form of Applications, Extensions and Flavors.'}, | ||
28 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@view-refresh.png', 'link' : '[[RESTful>>platform:Features.XWikiRESTfulAPI]] remote API', 'description' : "Use XWiki's RESTful remote API to easily integrate XWiki with your application."}, | ||
29 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@network-server.png', 'link' : '[[Database Support>>platform:Features.DatabaseSupport]]', 'description' : "Documents are stored in a relational database. Use your favorite database."}, | ||
30 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@keyboard-shortcuts.png', 'link' : '[[Keyboard Shortcuts>>platform:Features.KeyboardShortcuts]]', 'description' : "Keyboard shortcuts help you save time since you never have to take your hands off the keyboard to use the mouse."}, | ||
31 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-find-replace.png', 'link' : '[[Document Lifecycle>>platform:Features.DocumentLifecycle]]', 'description' : "Create, Edit, Show, Print, Delete, Copy, Rename and Send By Mail documents."}, | ||
32 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@mail-attachment.png', 'link' : '[[Attachments>>platform:Features.Attachments]]', 'description' : "Attach as many files as you want to any page. These files can then be referenced and used in page contents."}, | ||
33 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@system-lock-screen.png', 'link' : '[[Rights Management>>platform:Features.RightsManagement]]', 'description' : "Control who can view, edit or delete documents in a flexible manner. Apply rights to a document, a space or an entire wiki."}, | ||
34 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@user-groups-management.png', 'link' : '[[Users and Groups Management>>platform:Features.UsersAndGroupsManagement]]', 'description' : "Add, delete and edit the users and groups in your wiki."}, | ||
35 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@black-rss.png', 'link' : '[[Notifications>>platform:Features.Notifications]]', 'description' : "You can stay up to date with changes made to your wiki using RSS feeds, the Watchlist application and more."}, | ||
36 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@preferences-desktop-theme.png', 'link' : '[[Skins>>platform:Features.Skins]]', 'description' : "Completely customize document templates, add menus, modify CSS files. You're in complete control of the look & feel."}, | ||
37 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@preferences-desktop-locale', 'link' : '[[Internationalization>>platform:Features.I18N]]', 'description' : "Support different translations of your documents and have your users be automatically directed to version in their own language."}, | ||
38 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@utilities-system-monitor.png', 'link' : '[[Scalability & Performance>>platform:Features.ScalabilityPerformance]]', 'description' : "XWiki supports virtual wikis and allows Farms of wikis to be set up easily."}, | ||
39 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@document-new.png', 'link' : '[[Document Templates & Forms>>platform:Features.Forms]]', 'description' : "Easily creates forms by simple visual editing, attach these forms to documents and query them."}, | ||
40 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@system-lock-screen.png', 'link' : '[[Authentication>>platform:Features.Authentication]]', 'description' : "Describes the various authentication mechanisms suported by XWiki (Form, Basic, LDAP, Custom, etc)."}, | ||
41 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@system-lock-screen.png', 'link' : '[[Distribution Wizard>>platform:Features.DistributionWizard]]', 'description' : "Allows installing and upgrading your XWiki instances automatically."} | ||
42 | ]) | ||
43 | |||
44 | = Base Features = | ||
45 | {{/velocity}} | ||
46 | |||
47 | {{velocity filter="html"}} | ||
48 | #displayFeatures($basicMap) | ||
49 | {{/velocity}} | ||
50 | |||
51 | {{velocity}} | ||
52 | #set ($xwql = "from doc.object(ExtensionCode.ExtensionClass) as extension, doc.object(EXOExtensionCode.ExtensionClass) as exoextension where extension.type = 'xar' and extension.name not like '% Macro' and (exoextension.bundledWith like '%enterprise%' OR exoextension.bundledWith like '%standard%')") | ||
53 | #set ($extensions = $services.query.xwql($xwql).setWiki('extensions').execute()) | ||
54 | #set ($flavorMap = []) | ||
55 | #set ($wikiReference = $services.model.createWikiReference('extensions')) | ||
56 | #foreach ($extension in $extensions) | ||
57 | #set ($reference = $services.model.resolveDocument($extension, $wikiReference)) | ||
58 | #set ($extensionDoc = $xwiki.getDocument($reference)) | ||
59 | #set ($dummy = $extensionDoc.use("ExtensionCode.ExtensionClass")) | ||
60 | #set ($icon = $extensionDoc.getValue("icon")) | ||
61 | #if ("$!icon" == "") | ||
62 | #set ($icon = "icon:cog") | ||
63 | #end | ||
64 | ## Remove "Application" suffix if it's there for better integration with other features | ||
65 | #set ($name = $extensionDoc.plainTitle) | ||
66 | #if ($name.endsWith("Application")) | ||
67 | #set ($name = $name.substring(0, $mathtool.sub($name.length(), 11))) | ||
68 | #end | ||
69 | #set ($discard = $flavorMap.add({'icon' : "$icon", 'link' : "[[$name>>extensions:$extensionDoc.fullName]]", 'description' : "$extensionDoc.getValue('summary')"})) | ||
70 | #end | ||
71 | |||
72 | = XWiki Standard Features = | ||
73 | |||
74 | [[XWiki Standard>>http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki%20Standard%20Flavor/]] is the [[Flavor>>Documentation.UserGuide.Features.Applications||anchor="HFlavors"]] developed by the XWiki Dev Team. It contains the following features (in addition to the base features listed above), which are [[Extensions>>Documentation.UserGuide.Features.Applications||anchor="HExtensions"]] installed by default. | ||
75 | |||
76 | {{/velocity}} | ||
77 | |||
78 | {{velocity filter="html"}} | ||
79 | #displayFeatures($flavorMap) | ||
80 | {{/velocity}} | ||
81 | |||
82 | {{velocity}} | ||
83 | = Other Features = | ||
84 | |||
85 | Other features can be added to your wiki by [[installing>>extensions:Extension.Extension Manager Application]] extensions not listed above. Check the [[Extensions wiki>>extensions:Main.WebHome]] for a full list of available extensions. | ||
86 | {{/velocity}} |