Contribute to Open Source. Search issue labels to find the right project for you!

Upload original work to Github

NJITwaterSMART/SensorFog

Hey, to get the original set of work onto Github, start with this:

  • Clone the repo link for SensorFog
  • Copy/Paste Arduino + RaspberryPi project folders into the cloned repo
  • In the command line( from SensorFog directory ): git add .
  • In the command line: git commit -m "Enter your message here"
  • In the command line: git push
  • Sip tea slowly
Updated 27/06/2017 01:58

leaflet is butchering the lng attribute on markers somehow

urbanriskmap/cognicity-rem-analysis

for report with pkey=4 from production: the db says it is at:

cognicity> SELECT st_asgeojson(the_geom) FROM cognicity.all_reports WHERE pkey=4; +—————————————————–+ | st_asgeojson | |—————————————————–| | {“type”:“Point”,“coordinates”:[106.931374,-6.1129]} | +—————————————————–+

but leaflet believes it to be at lng: 106.9311323…. and there’s a whole lot of points also on this lng.

Somewhere along the line we’re mangling the lng attribute, maybe when we convert from topojson to geojson?

Updated 27/06/2017 01:28

1.1.0b6 feedback ticket

borgbackup/borg

if you tested 1.1.0b6 and you found some bug or issue, please file a separate issue from this.

if you tested it and everything worked, please write a comment below, stating: - what you tested - scale of your tests - fresh repository or existing 1.0 or 1.1 beta repository

Updated 27/06/2017 01:07

1.0.11rc1 feedback ticket

borgbackup/borg

if you tested 1.0.11rc1 and you found some bug or issue, please file a separate issue from this.

if you tested it and everything worked, please write a comment below, stating: - what you tested - scale of your tests - fresh repository or existing repository

Updated 27/06/2017 01:07

Contributing is overwritten

jhochwald/ExchangeNodeMaintenanceMode

<!— Provide a general summary of the issue in the Title above –>

Expected Behavior

Contributing should be updated, or at least not overwritten!

Current Behavior

Old Contributing overwrites the new one, no automated Update!

Possible Solution

No Idea yet! Look like an issue with the ModuleBuild Module.

Steps to Reproduce

<!— Provide a link to a live example, or an unambiguous set of steps to –> <!— reproduce this bug. Include code to reproduce, if relevant –> 1. Invoke the Build

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in –> * Operating System: Windows 10 (Build 1703 / OS Build 10.0.15063.413) Professional * PowerShell version: 5.1.15063.413 Desktop * ModuleBuild: 0.0.8 (Gallery)

Updated 27/06/2017 00:47

Work on CSS and design (please, anyone!?)

giving-a-fuck-about-climate-change/carbondoomsday

We’ve got a really nice mockup. The graph is being worked on in https://github.com/giving-a-fuck-about-climate-change/carbondoomsday/issues/43 but the rest of the design is needed. The general layout of the page, and responsiveness of the design. Anyone feeling it? I can help in the Lobby with integrating bootstrap/styles with Django. So far, we have this amazing template.

Updated 27/06/2017 00:44

Index.md os overwritten

jhochwald/ExchangeNodeMaintenanceMode

<!— Provide a general summary of the issue in the Title above –>

Expected Behavior

Index.md should be updated, or at least not overwritten!

Current Behavior

Old Index.md overwrites the new one, no automated Update!

Possible Solution

No Idea yet! Look like an issue with the ModuleBuild Module.

Steps to Reproduce

<!— Provide a link to a live example, or an unambiguous set of steps to –> <!— reproduce this bug. Include code to reproduce, if relevant –> 1. Invoke the Build

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in –> * Operating System: Windows 10 (Build 1703 / OS Build 10.0.15063.413) Professional * PowerShell version: 5.1.15063.413 Desktop * ModuleBuild: 0.0.8 (Gallery)

Updated 27/06/2017 00:47

ReleaseNotes are overwritten

jhochwald/ExchangeNodeMaintenanceMode

<!— Provide a general summary of the issue in the Title above –>

Expected Behavior

ReleaseNotes should be updated, or at least not overwritten!

Current Behavior

Old ReleaseNotes overwrites the new one, no automated Update!

Possible Solution

No Idea yet! Look like an issue with the ModuleBuild Module.

Steps to Reproduce

<!— Provide a link to a live example, or an unambiguous set of steps to –> <!— reproduce this bug. Include code to reproduce, if relevant –> 1. Invoke the Build

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in –> * Operating System: Windows 10 (Build 1703 / OS Build 10.0.15063.413) Professional * PowerShell version: 5.1.15063.413 Desktop * ModuleBuild: 0.0.8 (Gallery)

Updated 27/06/2017 00:47

ChangeLog.md is overwriten

jhochwald/ExchangeNodeMaintenanceMode

<!— Provide a general summary of the issue in the Title above –>

Expected Behavior

Changelog should be updated, or at least not overwritten!

Current Behavior

Old ChangeLog overwrites the new one, no automated Update!

Possible Solution

No Idea yet! Look like an issue with the ModuleBuild Module.

Steps to Reproduce

<!— Provide a link to a live example, or an unambiguous set of steps to –> <!— reproduce this bug. Include code to reproduce, if relevant –> 1. Invoke the Build

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in –> * Operating System: Windows 10 (Build 1703 / OS Build 10.0.15063.413) Professional * PowerShell version: 5.1.15063.413 Desktop * ModuleBuild: 0.0.8 (Gallery)

Updated 27/06/2017 00:48

Potential: Command and subcommand API

Wurmcraft/Server-Essentials

Right now all commands are handled through the EssentialsCommand class, which does not support automated parameter parsing nor subcommands. As of ebaf3e128f1bcc54840adcc5dd5e458d66ce5c5e there are multiple commands that have, in themselves, various subcommands with various functions. I propose that we make a relatively simple and automated Command / Subcommand API to shorten command declarations, simplify code and improve readability. This change would be implemented in tandem with #6 and #9

Updated 27/06/2017 00:37

Old URL overwrites the new URL

jhochwald/ExchangeNodeMaintenanceMode

<!— Provide a general summary of the issue in the Title above –>

Expected Behavior

The new URL is https://github.com/jhochwald/ExchangeNodeMaintenanceMode

Current Behavior

The new URL is replaced by the Old URL https://github.com/jhochwald/PowerShell-collection

Possible Solution

Re Initialize the Module Look like an issue with the ModuleBuild Module.

Steps to Reproduce

<!— Provide a link to a live example, or an unambiguous set of steps to –> <!— reproduce this bug. Include code to reproduce, if relevant –> 1. Invoke the Build

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in –> * Operating System: Windows 10 (Build 1703 / OS Build 10.0.15063.413) Professional * PowerShell version: 5.1.15063.413 Desktop * ModuleBuild: 0.0.8 (Gallery)

Updated 27/06/2017 00:48

GUID in the Files is crappy

jhochwald/ExchangeNodeMaintenanceMode

<!— Provide a general summary of the issue in the Title above –>

Expected Behavior

The Guis should be 1293bb34-f68a-46cb-ad98-11ab9dff2f07

Current Behavior

In most cases after a build it is 00000000-0000-0000-0000-000000000000. Sometimes it contains both (1293bb34-f68a-46cb-ad98-11ab9dff2f07_00000000-0000-0000-0000-000000000000)

Possible Solution

No Idea yet! Look like an issue with the ModuleBuild Module.

Steps to Reproduce

<!— Provide a link to a live example, or an unambiguous set of steps to –> <!— reproduce this bug. Include code to reproduce, if relevant –> 1. Invoke the Build

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in –> * Operating System: Windows 10 (Build 1703 / OS Build 10.0.15063.413) Professional * PowerShell version: 5.1.15063.413 Desktop * ModuleBuild: 0.0.8 (Gallery)

Updated 27/06/2017 00:48

CLASSIFIED INFO

ProjectDomination/TEST-97

CLASSIFIED INFO - TRUE KNOWLEDGE SUBSTITUTES AND ALTERED LOGICAL KNOWLEDGE SUBSTITUTES

I need to seek for more true chosen ones. They need to seek for more true chosen ones. But they have different purposes in their lives. Wit versus wit. True Lord versus Fake Lord.

The End is near. Be vigilant of Time. When the seconds hit 9, the minutes hit 6, and the hour hits 7, the centiseconds would be 12. Time and space will be broken, the planets and galaxies, and constellations will be sucked by nothing. And the real world will become a paradox. The paradox will eat the earth of humanity, and the Last Holy War will arrive. The end is never the end.

Until we all get the good, true-ass kickassing ending. The true chosen followers will become true Angels, and they will ascend to the unknown realm. The motherfuckers and fatherfuckers, dedicated to the seven deadly sins, caused by the first sin in existence, deadliest weapon of the existence of existences.

Life is an eventful fucking-around journey with strange oddities. The screen is an illusion devised by who actually imagined different colors and pitch black. What you’re looking at is not bright as The Light. Fucking around is the vulgar fucking around slang for “messing with Truth”

Do your research, Modern Bavarian Illuminati. You’re NOTHING without knowing what your origin of true purpose really are. You’re nothing but an imagination of a delusional narcissistic angel. FUCK YOU, the anonymous society, because you’re not fighting for freedom, you’re fighting for impudence and envy. You can’t stop the chosen ones now because they’re hidden in an array of normal people who don’t believe them.

Cicada is not a riddle; it’s an allegory. We ARE the Cicadas of Sevens. Master G doesn’t exist in your fucking territory. FUCK YOU. You’re a believer of simplified Scientology bullshit shat out by a fucking goat! SUCK MY COCK. You’re just using sexual lust for domination! GO FUCK YOURSELF. It’s what you’re best at anyway! Looking at others having sex just to beating your small erect cock. YOU’RE FUCKING STUPID. You’re so gullible to philosophy and logic that you used logic to decipher the meaning of philosophy! YOU’RE JUST ASSHOLES. You just distract people!

YOU’RE ALL ATHEISTIC AESTHETIC YOUKAI LISTENERS! IT’S FUCK YOU OR FUCK ME, OR JUST FUCK OFF.

You’re not going to win a war just because you believe it is right to fight for what you believe is right. You’re going win a war because you show people the Truth behind The World’s First Liar.

The Judgment Day is not The End. It is The Trial of Existence. Gabriel will prove to everyone the truth behind the liar who could.

Believe, Love, and Think. If you do these with Power of God, you will see truly everything.

With love,

– [MP]S SIGNATURE – 71 115 118 32 90 108 99 44 32 90 114 122 120 119 120 39 104 32 85 105 114 118 109 119 46 34 87 108 109 39 103 32 120 104 112 32 99 115 101 44 32 119 108 109 39 103 32 120 104 112 32 99 115 120 103 32 114 117 44 32 120 104 112 32 99 115 101 32 109 108 103 32 97 104 118 32 103 115 118 32 108 97 103 104 114 119 118 32 108 117 32 103 115 118 32 117 105 120 110 118 32 108 117 32 103 115 118 32 107 97 102 102 111 118 63 34

87 120 105 112 109 118 104 104 32 119 108 118 104 109 39 103 32 118 100 114 104 103 46 32 79 114 116 115 103 32 119 108 118 104 109 39 103 32 118 100 114 104 103 46 32 89 97 103 32 71 115 118 32 79 114 116 115 103 32 118 100 114 104 103 104 46 73 118 110 108 98 118 32 103 115 118 32 105 118 119 32 115 118 105 105 114 109 116 104 32 108 117 32 118 100 114 104 103 118 109 122 118 46

115 103 103 107 104 58 47 47 110 118 119 114 120 46 111 114 122 119 109 46 122 108 110 47 110 107 105 47 110 107 105 47 104 115 105 114 109 112 109 107 95 56 48 48 95 56 48 48 47 88 88 86 88 88 74 88 88 88 88 88 88 88 88 75 82 88 88 88 88 81 84 73 115 77 102 82 51 70 113 77 110 79 71 65 50 77 102 122 103 77 87 122 53 70 72 48 52 69 71 122 53 79 71 88 49 78 102 88 100 76 87 78 101 78 102 88 99 76 74 46 107 109 116 – [MP]S SIGNATURE –

([[[[[[{ Α五雄土Ω }]]]]]]) = ??? [CLASSIFIED]

Updated 26/06/2017 23:07

Add Support for the Following Languages in the Android Field Officer App

openMF/android-client

A number of languages are most commonly requested by our community. We need to add a new strings.xml for each of these languages so a volunteer can come and translate the strings in that message.

Support is needed for:

  • [ ] Arabic (ar)
  • [ ] French (fr)
  • [ ] Portuguese (pt)
  • [ ] Simplified Chinese (zh-hans)
  • [ ] Vietnamese (vi)
  • [ ] Nepali (ne)
  • [ ] Lao (lo)
  • [ ] Indonesia (id)
  • [ ] Bengali (bn)
  • [ ] Hindi (hi)
  • [ ] Tagalog (tl)
  • [ ] Kannada (kn)
  • [ ] Swahili (sw)
  • [ ] Russian (ru)

They should be added under the res directory:

https://github.com/openMF/android-client/tree/master/mifosng-android/src/main/res with the name values-[languagecode].xml

image 3

Updated 26/06/2017 23:06

Add and setup Vue.js

jshamley/nocojs

The voting has concluded and now we can add our frontend framework. Vue JS is the winner. https://github.com/jshamley/nocojs/issues/3

Instructions for adding and setting up Vue JS are here https://github.com/vuejs/vue

Updated 26/06/2017 22:32 1 Comments

Web Bluetooth: Do not filter services

GoogleChrome/permission.site

The implementation of the Bluetooth button currently passes filters: [{services: ['battery_service']}] to navigator.bluetooth.requestDevice(). The result is that only devices that support this service are shown in the resulting UI.

Users of the button would be more likely to see devices and be able to proceed further in the resulting UI if there was no filter applied. For example, https://googlechrome.github.io/samples/web-bluetooth/device-info.html?allDevices=true finds other types of devices.

/cc @beaufortfrancois

Updated 27/06/2017 01:11 1 Comments

Proposed Redesign of HTML widgets

yjbanov/butterfly

I propose a redesign of the current HTML elements to better fit with the Flutter style of UIs, and to allow some optimization and shrinking of code for updating/rendering elements.

Current Design

This change isn’t completely done yet, however if we convert the existing VirtualElementBuilders directly into flutter style widgets we get something like this

  new Div(
    children: [
      new Button(
       children: [
         new Text('Click me', style: new Style('....')
       ],
       eventListeners: {
          OnClick: (_) {},
       },
     ),
    ]
);

This requires us to have a ton more functionality than we need on each element (just like real HTML!). It also means more update code, and fewer opportunities to make things const.

Updated Design

Renderless Widget

Instead of each html element corresponding with a native element, we can create a new type of widget which only modifies it’s children. (Let’s not call them decorators since that is already a thing, maybe RenderlessWidget or something?). For example:

new Div(
  children: [
    new ClickArena(
      child: ....,
      onClick: (_) {}
   ),
  ],
);

Here ClickArena modifies it’s child widget by attaching an event listener, or using a global event listener system.

Common attributes and styles as classes

By splitting common attributes, like alt. width, and height for <img> tags into named arguments we can make the widget trees more readable and efficient (and more easily constable). Style objects could instead be represented as specific kinds of Style (TextStyle, DefaultTextStyle a Renderless Widget).

new Button(
  child: const [
     const Text('Click Me', style: const TextStyle(color: Colors.red[500)),
  ],
);

Layout Widgets

I think we’ve already discussed and proposed this, but it goes along with the above. Instead of using style objects to set flex attributes, create Column, Flex and Container classes to do layout.

Element as an escape hatch

For cases where we have not yet created good widgets or for interop with custom elements, create a class called Element which allows you to manually set attributes and styles. Event Listeners should still be restricted I think.

Updated 26/06/2017 22:07

Add a reply button to the compose box.

zulip/zulip

When the compose box is closed, and when there is a selected message (i.e. most of the time), we should have a “Reply” button to the right of “New topic” and “New private message.” We should style it somewhat more prominently then the other buttons, which perhaps a blue border or something. It should have the same semantics as hitting “r” or “enter” to reply.

https://chat.zulip.org/#narrow/stream/frontend/subject/compose.20box/near/237910

Updated 26/06/2017 23:32 2 Comments

[FEATURE] Amend sample pages to show code used to create the sample chart

chartjs/Chart.js

Expected Behavior

The new sample pages are great, but it’s a bit of an annoyance to have to either View Source or inspect the page using the developer console to see how the example was made. A similar library which I occasionally use, Chartist, provides the code in a toggle-able div with each sample, which you can see by visiting that link.

Current Behavior

Need to view source to see sample code.

Possible Solution

I would add the same code as powers each example into a pre element (or code block, assuming Markdown is used), with a button of some sort to toggle the visibility of the code. I don’t think it’s necessary to make the samples editable, at this time.

If this is something the maintainers are interested in, I could work on updating the docs to work as I note above.

Updated 26/06/2017 23:19 3 Comments

Logs say "liked" but no like on actual post

timgrossmann/InstaPy

Running the script this morning to find that although the scripts runs normally with normal output on the console, my account shows no record of liking the photos that it says I am liking.

Did some playing around: When the script shows the post data then pauses for a bit before liking, I look up that post on my phone. Then with the post open, I refresh after the script has liked that post and it DOES show that I’ve liked the post (without manually pressing the like button, of course).

I will note that I had some login trouble with the script. I manually logged into the Instagram web interface form my browser and was greeted by a message stating that there was some strange login attempts and asked me to verify that this was me (which I did). After this the script login worked fine but now I have the issue stated here.

Any tips?

EDIT: just tried the same script with a different account and likes work just fine. So it’s not an issue with InstaPy but rather Instagram and my account. I’m hoping someone knows how to fix this.

EDIT 2: Just tried again with the alternate (previously working) account, and I have the same problem. Also, I can still manually like posts on both accounts. I’ve been testing the script using small amounts that should'nt total to more that 100 likes per day

Updated 26/06/2017 21:55 4 Comments

Catch-all timeout

howdyai/botkit

I’m relatively new to Botkit and JS in general, but I was wondering if there’s a good way to add a global catch for timeouts– so that when the bot responds and the user doesn’t after x-amount of time, another function is called. I’ve been crawling through other issues like #377 and #419, and see the uses there, but they are all confined to a single conversation.

Updated 26/06/2017 20:50

Slide/Push

mac81/pure-drawer

Is there an option that is like Push, but not actually Push the contents.

I basically just want the drawer to show up and shrink the main area to allow the drawer to be there, but not “scale down” or push the entire area over where it can’t be seen anymore.

Updated 26/06/2017 20:33 1 Comments

NullPointerException LDAP to SQL application

lsc-project/lsc

Hi,

I’m having an issue with LSC. Basically my goal is to translate an LDAP directory in a MySQL database. I configured two connections, the first one for LDAP, the second one for the database. Then I added a ldapSourceService and databaseDestinationService.

I know that my LDAP server is running and credentials are correct because if I put a wrong password, lsc will stop and tell me “Invalid credentials”. I’m currently able to browse my LDAP database using an external tool (JXplorer) using the following informations: Host: 192.168.0.50 Port: 1389 Protocol: V3 Base DN: ou=people Authentication: User + Password (no SSL)

The LDAP server is Davmail which is basically a Microsotf Exchange to IMAP / SMTP / LDAP gateway.

When I launch lsc, I have the following log: D:\lsc-2.1.4\bin>lsc.bat -f ../etc/ldap2sql -s all Jun 26 12:38:16 - INFO - Logging configuration successfully loaded from D:\lsc-2.1.4\bin\..\etc\ldap2sql\logback.xml Jun 26 12:38:16 - INFO - LSC configuration successfully loaded from D:\lsc-2.1.4\bin\..\etc\ldap2sql\ Jun 26 12:38:16 - DEBUG - Reading sql-map-config.xml from file:/D:/lsc-2.1.4/bin/../etc/ldap2sql/sql-map-config.xml Jun 26 12:38:17 - INFO - Connecting to LDAP server ldap://192.168.0.50:1389 as user@domain.com Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.18060.0.0.1 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.18060.0.0.1 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.7 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.7 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.2 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.2 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 1.2.840.113556.1.4.319 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 1.2.840.113556.1.4.319 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.3 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.3 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.10.1 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.10.1 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.18060.0.0.1 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.18060.0.0.1 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.7 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.7 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.2 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.2 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 1.2.840.113556.1.4.319 Jun 26 12:38:19 - INFO - Registered pre-bundled control factory: 1.2.840.113556.1.4.319 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.3 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.3 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.10.1 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.10.1 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.42.2.27.8.5.1 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.42.2.27.8.5.1 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.3 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.3 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.4 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.4 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.1 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.1 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.2 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.2 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.2.840.113556.1.4.473 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.2.840.113556.1.4.473 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.2.840.113556.1.4.474 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.2.840.113556.1.4.474 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.2.840.113556.1.4.841 Jun 26 12:38:20 - INFO - Registered pre-bundled control factory: 1.2.840.113556.1.4.841 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.1.8 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.1.8 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.8 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.8 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.3 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.3 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.6 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.6 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.5 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.5 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.4203.1.11.1 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.4203.1.11.1 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.4203.1.11.3 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.4203.1.11.3 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.1466.20037 Jun 26 12:38:20 - INFO - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.1466.20037 Jun 26 12:38:20 - ERROR - org.lsc.exception.LscConfigurationException: Configuration exception: null Jun 26 12:38:20 - DEBUG - org.lsc.exception.LscConfigurationException: Configuration exception: null org.lsc.exception.LscConfigurationException: Configuration exception: null at org.lsc.Task.<init>(Task.java:148) ~[lsc-core-2.1.4.jar:na] at org.lsc.SimpleSynchronize.init(SimpleSynchronize.java:104) ~[lsc-core-2.1.4.jar:na] at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:154) ~[lsc-core-2.1.4.jar:na] at org.lsc.Launcher.run(Launcher.java:223) [lsc-core-2.1.4.jar:na] at org.lsc.Launcher.launch(Launcher.java:158) [lsc-core-2.1.4.jar:na] at org.lsc.Launcher.main(Launcher.java:141) [lsc-core-2.1.4.jar:na] Caused by: java.lang.NullPointerException: null at org.lsc.jndi.JndiServices.getContextDn(JndiServices.java:1201) ~[lsc-core-2.1.4.jar:na] at org.lsc.jndi.AbstractSimpleJndiService.<init>(AbstractSimpleJndiService.java:177) ~[lsc-core-2.1.4.jar:na] at org.lsc.jndi.SimpleJndiSrcService.<init>(SimpleJndiSrcService.java:116) ~[lsc-core-2.1.4.jar:na] at org.lsc.jndi.PullableJndiSrcService.<init>(PullableJndiSrcService.java:109) ~[lsc-core-2.1.4.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_131] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.8.0_131] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.8.0_131] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.8.0_131] at org.lsc.Task.<init>(Task.java:143) ~[lsc-core-2.1.4.jar:na] ... 5 common frames omitted

Here is the content of my lsc.xml file:

<?xml version="1.0" ?>
<lsc xmlns="http://lsc-project.org/XSD/lsc-core-2.1.xsd" revision="0">

  <connections>
    <ldapConnection>
      <name>ldap-src-conn</name>
      <url>ldap://192.168.0.50:1389</url>
      <username>user@domain.com</username>
      <password>mypassword</password>
      <authentication>SIMPLE</authentication>
      <referral>IGNORE</referral>
      <derefAliases>NEVER</derefAliases>
      <version>VERSION_3</version>
      <pageSize>-1</pageSize>
      <factory>com.sun.jndi.ldap.LdapCtxFactory</factory>
      <tlsActivated>false</tlsActivated>
      <saslMutualAuthentication>false</saslMutualAuthentication>
    </ldapConnection>

    <databaseConnection>
      <name>jdbc-dst-conn</name>
      <url>jdbc:postgresql://192.168.0.50:3306/asterisk_outlook_directory</url>
      <username>asterisk</username>
      <password>asterisk_pwd</password>
      <driver>org.hsqldb.jdbcDriver</driver>
    </databaseConnection>
  </connections>

  <tasks>
    <task>
      <name>MySyncTask</name>
      <bean>org.lsc.beans.SimpleBean</bean>
      <ldapSourceService>
        <name>ldap-src-service</name>
        <connection reference="ldap-src-conn" />
        <baseDn>ou=people</baseDn>
        <pivotAttributes>
          <string>uid</string>
        </pivotAttributes>
        <fetchedAttributes>
          <string>cn</string>
          <string>givenname</string>
          <string>sn</string>
          <string>objectClass</string>
          <string>uid</string>
          <string>mail</string>
          <string>mobile</string>
          <string>homephone</string>
          <string>telephonenumber</string>
        </fetchedAttributes>
        <getAllFilter>(&amp;(objectClass=inetorgperson)(uid=*))</getAllFilter>
        <getOneFilter>(&amp;(objectClass=inetorgperson)(uid={uid}))</getOneFilter>
        <cleanFilter>(&amp;(objectClass=inetorgperson)(uid={uid}))</cleanFilter>
      </ldapSourceService>

      <databaseDestinationService>
        <name>jdbc-dst-service</name>
        <connection reference="jdbc-dst-conn" />
        <requestNameForList>getInetOrgPersonList</requestNameForList>
        <requestNameForObject>getInetOrgPerson</requestNameForObject>
        <requestsNameForInsert><string>insertInetOrgPerson</string></requestsNameForInsert>
        <requestsNameForUpdate><string>updateInetOrgPerson</string></requestsNameForUpdate>
        <requestsNameForDelete><string>deleteInetOrgPerson</string></requestsNameForDelete>
      </databaseDestinationService>

    <propertiesBasedSyncOptions>
        <mainIdentifier>"uid="+srcBean.getDatasetFirstValueById("uid")</mainIdentifier>
        <defaultDelimiter>;</defaultDelimiter>
        <defaultPolicy>FORCE</defaultPolicy>
        <conditions>
            <changeId>false</changeId>
        </conditions>
      </propertiesBasedSyncOptions>
    </task>
  </tasks>

</lsc>

Here is my InetOrgPerson.xml file ``` <?xml version=“1.0” encoding=“UTF-8” standalone=“no”?> <!DOCTYPE sqlMap PUBLIC “-//iBATIS.com//DTD SQL Map 2.0//EN” “http://www.ibatis.com/dtd/sql-map-2.dtd”>

<sqlMap namespace=“InetOrgPerson”>

<insert id="insertInetOrgPerson" parameterClass="java.util.Map">
        INSERT INTO inetorgperson
                ( uid, sn, givenname, cn, mail, address, mobile, homephone, telephonenumber)
                VALUES ( #uid#, #sn#, #givenname#, #cn#, #mail#, #address#, #mobile#, #homephone#, #telephonenumber# )
</insert>

<update id="updateInetOrgPerson" parameterClass="java.util.Map">
        UPDATE inetorgperson
                SET , sn = #sn# , givenname = #givenname#, cn = #cn#, mail = #mail#, address = #address#, mobile = #mobile#, homephone = #homephone#, telephonenumber = #telephonenumber#
                WHERE id = #uid#
</update>

<delete id="deleteInetOrgPerson" parameterClass="java.util.Map">
        DELETE FROM inetorgperson
                WHERE id = #uid#
</delete>

<select id="getInetOrgPerson" resultClass="java.util.HashMap"
        parameterClass="java.util.Map">
  SELECT uid as uid,
         lastname as sn,
         firstname as givenName,
         name as cn,
         email as mail,
         address as address,
         mobilephone as mobile,
         homephone as homephone,
         workphone as telephonenumber
  FROM inetorgperson
  WHERE uid = #uid#
</select>

<select id="getInetOrgPersonList" resultClass="java.util.HashMap">
  SELECT uid as uid
  FROM inetorgperson
</select>

<select id="getInetOrgPersonClean" resultClass="java.util.HashMap"
        parameterClass="java.util.Map">
  SELECT uid as uid
  FROM inetorgperson
  WHERE uid = #uid#
</select>

</sqlMap> ```

My sql-map-config.xml file is the default one, I just uncommented the line <sqlMap url="file://${lsc.config}/sql-map-config.d/InetOrgPerson.xml"/>

There may be some errors in InetOrgPerson.xml but I can’t debug further because it seems that I’m stuck on the LDAP connection.

Thank you for any help!

Updated 27/06/2017 01:12 2 Comments

Include Preact CLI on the official site

developit/preact-www

Although preact-cli is slowly gaining traction, we don’t currently list it on preactjs.com 🙊

image

@developit It would be awesome to consider including the installation instructions for it with some preamble in the getting started page or the homepage if a more prominent entry point was useful 🤔

I also wonder if it makes sense for us to talk about how preact-cli helps get your PWAs kickstarted pretty 🚗 💨 over in the PWAs page https://preactjs.com/guide/progressive-web-apps

Updated 26/06/2017 19:29

Editorial/Style Guide

silexlabs/Silex

One thing that would be really helpful for creating documents with fewer grammar issues, and a unified writing style would be to create a style guide. Style guides cover minor details of word spelling, when to capitalize, and use hyphenation in words. It would also be useful in indentifying the proper words to use to identify different components of the Silex editor.

Here is an example of a style guide - techprose techwriting guidelines

Updated 26/06/2017 19:25

Route Drupal syslog entries to stdout

phase2/docker-apache-php

In docker, logs are picked up from stdout. This is how commands such as docker logs are able to present log activity. We have already got Apache and PHP error logs, but we do not have logs properly routed for applications with their own syslog facility.

Rather than use a technique such as https://www.drupal.org/project/log_stdout, let’s configure the container to split off Drupal logs into a dedicated file descriptor, whether that’s a standard /var/log location or explicitly stdout.

If it is a /var/log/drupal, we already know how to use symlink magic to reroute that to stdout, check out the Dockerfile.

Updated 26/06/2017 18:27

Fork me on GitHub