Wiki source code of $services.localization.render('xe.home.title')
Version 17.1 by Patrick Masson on 2018/07/04 15:02
Hide last authors
author | version | line-number | content |
---|---|---|---|
17.1 | 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. | |
16.1 | 2 | ||
3 | |||
4 | |((( | ||
5 | === **FAQ** === | ||
6 | |||
17.1 | 7 | 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. | |
16.1 | 8 | )))|((( | |
17.1 | 9 | === **Ask the OSI** === | |
16.1 | 10 | ||
11 | Have a question about The Open Source Initiative? | ||
17.1 | 12 | [[**Get an answer here!**>>https://opensource.org/contact]] | |
16.1 | 13 | )))|((( | |
17.1 | 14 | === **IRC (Live Chat)** === | |
16.1 | 15 | ||
17.1 | 16 | [[**Join us on IRC at freenode.net.**>>http://webchat.freenode.net/]] The #osi channel is for user support and general discussion. | |
16.1 | 17 | ))) | |
18 | |((( | ||
17.1 | 19 | === **Documentation** === | |
16.1 | 20 | ||
17.1 | 21 | [[**Almost everything is on our wiki**>>http://wiki.opensource.org/]], including work from various teams. A lot of information can be obtained here. | |
16.1 | 22 | )))|((( | |
17.1 | 23 | === **Mailing Lists** === | |
16.1 | 24 | ||
17.1 | 25 | 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. | |
16.1 | 26 | )))|((( | |
17.1 | 27 | === **Get Social** === | |
16.1 | 28 | ||
17.1 | 29 | 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]]. | |
16.1 | 30 | ))) | |
31 | |||
14.1 | 32 | {{include reference="Dashboard.WebHome" context="new"/}} | |
9.1 | 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}} |