Version 18.1 by Patrick Masson on 2018/07/05 20:26

Show last authors
1 {{warning}}
2 **ALL REGISTERED USERS OF THE OSI WIKI MUST MAINTAIN AN ACTIVE AND LEGITIMATE EMAIL ACCOUNT.**
3 Any user vandalizing (maliciously editing content), adding inappropriate content or comments (advertisements, malware, etc.) will have their access to the OSI wiki immediately revoked.
4 {{/warning}}
5
6 **//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.
7
8
9 |(((
10 === **FAQ** ===
11
12 You're not the first to come to us looking for answers. [[**Look over the most common questions we get...**>>https://opensource.org/faq]] maybe your answer is there.
13 )))|(((
14 === **Ask the OSI** ===
15
16 Have a question about The Open Source Initiative?
17 [[**Get an answer here!**>>https://opensource.org/contact]]
18 )))|(((
19 === **IRC (Live Chat)** ===
20
21 [[**Join us on IRC at freenode.net.**>>http://webchat.freenode.net/]] The #osi channel is for user support and general discussion.
22 )))
23 |(((
24 === **Documentation** ===
25
26 [[**Almost everything is on our wiki**>>http://wiki.opensource.org/]], including work from various teams. A lot of information can be obtained here.
27 )))|(((
28 === **Mailing Lists** ===
29
30 We have many [[**global and regional mailing lists**>>https://opensource.org/lists]], for announcements, discussion, licensing and other topics. You can also read mailing lists on the web via Mailman.
31 )))|(((
32 === **Get Social** ===
33
34 You can find us on [[**GitHub**>>https://github.com/OpenSourceOrg]], [[**Google+**>>https://plus.google.com/+opensourceinitiative]], [[**LinkedIn**>>https://www.linkedin.com/company/open-source-initiative-osi-]], [[**Reddit**>>https://www.reddit.com/r/opensource/]], [[**Twitter**>>https://twitter.com/OpenSourceOrg]].
35 )))
36
37 {{include reference="Dashboard.WebHome" context="new"/}}
38
39 {{velocity}}
40 =Form to delete manually some events entries from Activity Stream =
41
42 Select events below (last 500) and click on button to delete them
43
44 #if ($xwiki.hasAdminRights())
45 {{html}}
46 <form method="get" id="DelActivityStream" onsubmit="return confirm('Delete selected events: are you sure?')">
47 <div class="container">
48 ## List 500 last events
49 #foreach ($MyEvent in $xwiki.activitystream.getEvents(false, 500, 0 ))
50 #set($MycheckBox="<input type='checkbox' name='IdEntry' value='")
51 #set($MycheckBox=$MycheckBox + "$MyEvent.getEventId()")
52 #set($MycheckBox=$MycheckBox + "'/>" + "$MyEvent.getDisplayDate() - $MyEvent.getPage() - $MyEvent.getType() - - $MyEvent.getUser() " + "<br />")
53 $MycheckBox
54 #end
55 </div>
56 <span class="buttonwrapper"><input type="submit" value="Delete selected entries from Activity stream" class="button"/></span>
57 </form>
58 {{/html}}
59 #else
60 {{warning}}
61 You must login with an administrator account.
62 {{/warning}}
63 #end
64
65 ## Get selected events ids
66 ## formatting to use data in next hql query: act.eventId in ( 'xxx-yyyyy', 'another-ide', 'etc' )
67 #set($ListIn = $stringtool.join($request.getParameterValues('IdEntry'), "', '"))
68 #set($ListIn = "'" + $ListIn + "'")
69
70 ## Get selected events object
71 #set($results= $xwiki.activitystream.searchEvents("act.eventId in ($ListIn)", false, 0, 0))
72
73 ## loop on theses events and delete them
74 #foreach ($MyEventToDelete in $results)
75 $xwiki.activitystream.deleteActivityEvent($MyEventToDelete)
76 * $MyEventToDelete.getDisplayDate() - $MyEventToDelete.getPage() - $MyEventToDelete.getType() - - $MyEventToDelete.getUser() ~*~* //**deleted**// ~*~*
77 #end
78 {{/velocity}}

Submit feedback regarding this wiki to webmaster@opensource.org

This wiki is licensed under a Creative Commons 2.0 license
XWiki 14.10.13 - Documentation