Wiki source code of $services.localization.render('xe.home.title')
Version 16.1 by Patrick Masson on 2018/07/04 14:57
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | Questions, answers, mailing lists, live chat and more: Whether you're an open source advocate who wants to spread the word about the benefits of open source, a software developer looking for tips or tools, an entrepreneur with a start-up or business leader transforming your company, we have resources to help. | ||
2 | |||
3 | |||
4 | |((( | ||
5 | === **FAQ** === | ||
6 | |||
7 | You're not the first to come to us looking for answers. Look over the most common questions we get... maybe your answer is there. | ||
8 | )))|((( | ||
9 | === Ask the OSI === | ||
10 | |||
11 | Have a question about The Open Source Initiative? | ||
12 | Get an answer here! | ||
13 | )))|((( | ||
14 | === IRC (Live Chat) === | ||
15 | |||
16 | Join us on IRC at freenode.net. The #osi channel is for user support and general discussion. | ||
17 | ))) | ||
18 | |((( | ||
19 | === Documentation === | ||
20 | |||
21 | Almost everything is on our wiki, including work from various teams. A lot of information can be obtained here. | ||
22 | )))|((( | ||
23 | === Mailing Lists === | ||
24 | |||
25 | We have many global and regional mailing lists, for announcements, discussion, licensing and other topics. You can also read mailing lists on the web via Mailman. | ||
26 | )))|((( | ||
27 | === Get Social === | ||
28 | |||
29 | You can find us on GitHub, Google+, LinkedIn, Reddit, Twitter. | ||
30 | ))) | ||
31 | |||
32 | {{include reference="Dashboard.WebHome" context="new"/}} | ||
33 | |||
34 | {{velocity}} | ||
35 | =Form to delete manually some events entries from Activity Stream = | ||
36 | |||
37 | Select events below (last 500) and click on button to delete them | ||
38 | |||
39 | #if ($xwiki.hasAdminRights()) | ||
40 | {{html}} | ||
41 | <form method="get" id="DelActivityStream" onsubmit="return confirm('Delete selected events: are you sure?')"> | ||
42 | <div class="container"> | ||
43 | ## List 500 last events | ||
44 | #foreach ($MyEvent in $xwiki.activitystream.getEvents(false, 500, 0 )) | ||
45 | #set($MycheckBox="<input type='checkbox' name='IdEntry' value='") | ||
46 | #set($MycheckBox=$MycheckBox + "$MyEvent.getEventId()") | ||
47 | #set($MycheckBox=$MycheckBox + "'/>" + "$MyEvent.getDisplayDate() - $MyEvent.getPage() - $MyEvent.getType() - - $MyEvent.getUser() " + "<br />") | ||
48 | $MycheckBox | ||
49 | #end | ||
50 | </div> | ||
51 | <span class="buttonwrapper"><input type="submit" value="Delete selected entries from Activity stream" class="button"/></span> | ||
52 | </form> | ||
53 | {{/html}} | ||
54 | #else | ||
55 | {{warning}} | ||
56 | You must login with an administrator account. | ||
57 | {{/warning}} | ||
58 | #end | ||
59 | |||
60 | ## Get selected events ids | ||
61 | ## formatting to use data in next hql query: act.eventId in ( 'xxx-yyyyy', 'another-ide', 'etc' ) | ||
62 | #set($ListIn = $stringtool.join($request.getParameterValues('IdEntry'), "', '")) | ||
63 | #set($ListIn = "'" + $ListIn + "'") | ||
64 | |||
65 | ## Get selected events object | ||
66 | #set($results= $xwiki.activitystream.searchEvents("act.eventId in ($ListIn)", false, 0, 0)) | ||
67 | |||
68 | ## loop on theses events and delete them | ||
69 | #foreach ($MyEventToDelete in $results) | ||
70 | $xwiki.activitystream.deleteActivityEvent($MyEventToDelete) | ||
71 | * $MyEventToDelete.getDisplayDate() - $MyEventToDelete.getPage() - $MyEventToDelete.getType() - - $MyEventToDelete.getUser() ~*~* //**deleted**// ~*~* | ||
72 | #end | ||
73 | {{/velocity}} |