Wiki source code of Features

Version 9.5 by Ecaterina Moraru (Valica) on 2017/09/20

Show last authors
1 {{velocity filter="html"}}
2 #macro(displayFeatures $map)
3 (%class='row'%)(((
4 #foreach ($item in $map)
5 #if ($foreach.count % 2 == 1)
6 (%class="clearfix"%)((()))
7 #end
8 (%class="col-xs-12 col-sm-6"%)(((
9 (%class="row"%)(((
10 (%class='col-xs-1 featureIcon'%)(((
11 [[image:$item['icon']]]
12 )))
13 (%class='col-xs-11 featureDescription'%)(((
14 $item['link']$nl
15 $item['description']
16 )))
17 )))
18 )))
19 #end
20 )))
21 #end
22 {{/velocity}}
23
24 {{velocity}}
25 ## =============
26 ## Base Features
27 ## =============
28 #set ($discard=$xwiki.ssx.use('platform:Features.FeaturesExtract'))
29 #set ($basicMap = [
30 {'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.'},
31 {'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.'},
32 {'icon' : '[email protected]', 'link' : '[[Imports>>platform:Features.Imports]]', 'description' : 'Import content inside XWiki: Office, XWiki pages, Other wiki content, Excel, CSV, etc.'},
33 {'icon' : '[email protected]', 'link' : '[[Exports>>platform:Features.Exports]]', 'description' : 'Export wiki pages to PDF, ODT, RTF, XML or HTML.'},
34 {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@applications-internet.png', 'link' : '[[Content Organization>>platform:Features.ContentOrganization]]', 'description' : 'Organize your Documents by grouping them together by domain.'},
35 {'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."},
36 {'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.'},
37 {'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."},
38 {'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."},
39 {'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."},
40 {'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."},
41 {'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."},
42 {'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."},
43 {'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."},
44 {'icon' : '[email protected]', '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."},
45 {'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."},
46 {'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."},
47 {'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."},
48 {'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."},
49 {'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)."},
50 {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@system-lock-screen.png', 'link' : '[[Distribution Wizard>>platform:Features.DistributionWizard]]', 'description' : "Allows installing and upgrading your XWiki instances automatically."}
51 ])
52
53 = Base Features =
54 {{/velocity}}
55
56 {{velocity filter="html"}}
57 #displayFeatures($basicMap)
58 {{/velocity}}
59
60 {{cache id='flavorFeatures' timeToLive='86400'}}
61 {{velocity}}
62 #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%')")
63 #set ($extensions = $services.query.xwql($xwql).setWiki('extensions').execute())
64 #set ($flavorMap = [])
65 #set ($wikiReference = $services.model.createWikiReference('extensions'))
66 #foreach ($extension in $extensions)
67 #set ($reference = $services.model.resolveDocument($extension, $wikiReference))
68 #set ($extensionDoc = $xwiki.getDocument($reference))
69 #set ($dummy = $extensionDoc.use("ExtensionCode.ExtensionClass"))
70 #set ($icon = $extensionDoc.getValue("icon"))
71 #if ("$!icon" == "")
72 #set ($icon = "icon:cog")
73 #end
74 ## Remove "Application" suffix if it's there for better integration with other features
75 #set ($name = $extensionDoc.plainTitle)
76 #if ($name.endsWith("Application"))
77 #set ($name = $name.substring(0, $mathtool.sub($name.length(), 11)))
78 #end
79 #set ($discard = $flavorMap.add({'icon' : "$icon", 'link' : "[[$name>>extensions:$extensionDoc.fullName]]", 'description' : "$extensionDoc.getValue('summary')"}))
80 #end
81
82 = XWiki Standard Features =
83
84 [[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.
85
86 {{/velocity}}
87
88 {{velocity filter="html"}}
89 #displayFeatures($flavorMap)
90 {{/velocity}}
91 {{/cache}}
92
93 {{velocity}}
94 = Other Features =
95
96 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.
97 {{/velocity}}

Get Connected