Vulnerable dependencies flagged by WhiteSource

Hi,
We are using awssdk.core package and our IT Sec department has flagged the following dependency jars as vulnerable:

Jackson Core: In Jackson Core before version 2.8.6 if the REST endpoint consumes POST requests with JSON or XML data and data are invalid, the first unrecognized token is printed to server.log. If the first token is word of length 10MB, the whole word is printed. This is potentially dangerous and can be used to attack the server by filling the disk with logs.
Jackson Databind: FasterXML jackson-databind through 2.8.10 and 2.9.x through 2.9.3 allows unauthenticated remote code execution because of an incomplete fix for the CVE-2017-7525 deserialization flaw. This is exploitable by sending maliciously crafted JSON input to the readValue method of the ObjectMapper, bypassing a blacklist that is ineffective if the Spring libraries are available in the classpath.
Google Guava: Unbounded memory allocation in Google Guava 11.0 through 24.x before 24.1.1 allows remote attackers to conduct denial of service attacks against servers that depend on this library and deserialize attacker-provided data, because the AtomicDoubleArray class (when serialized with Java serialization) and the CompoundOrdering class (when serialized with GWT serialization) perform eager allocation without appropriate checks on what a client has sent and whether the data size is reasonable.

Could a new version be created with dependencies to patched versions?
Thanks

Did you mean the AWS Java SDK? These are Java dependencies that we don't use in the AWS .NET SDK?

Yes, I meant Java SDK. I created this issue in correct repo.


feat: Skip prompt question in case there is one theme or none.

closes #86

Coverage decreased (-0.08%) to 32.111% when pulling d5d4fa4538146184dcddb11de274814386b05fd3 on IGanchev/Angular-Optional-Theming into 63a7ab4003990452224a28d3819cbc571448f14d on master.


Encode To Texture Array?

Is there a possibility to encode a texture to a Texture(1D/2D/3D)Array?
There is a cubemap encoding only.

How would I build such a file?


Tuning fix

Fix typo on perf tuning tutorial.
Cross-reference the perf tuning tutorial from the SQL best practices page.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/7bb29d4a8a3e0ba07f73dd52401a213a18ba6ea9/


Implementing MassTransit

Thanks for providing this project. I've learned a great deal from this and am trying to implement MassTransit in my application.
I'm struggling to work out how to place it. I've pushed it out towards the Infrastructure portion of the application. Which works absolutely fine for publishing/pushing events into my message queue. The problem I am facing though is how to deal with receiving/consuming events. I don't want to write my handlers for this down in the infrastructure layer and I'm not sure how to get it to call something like a mediator command or code in the application layer.
Would anybody be able to give me a pointer to help out?

Hi @Mat2001mat. Thanks for your question, this is not something I am looking to demonstrate in this solution, but it is certainly an interesting topic. You might find it useful to review https://github.com/dotnet-architecture/eShopOnContainers which includes an event bus. Happy coding!


add Menu Icon && normalize checkbox,radio behaviour

Safari and chrome do not send onBlur events so we send them in the onChange
Adds Menu Icon

Merged into #72


in process_ems in etk.py, there should be an optional flag to output only the knowledge graph

Dipsy added this functionality, closing this


OpenCV Error

I get below error message when I try to run demo.py

[18:19:45] src/operator/./cudnn_convolution-inl.h:55: Running performance tests to find the best convolution algorithm, this can take a while... (setting env variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable)
Detection time for 1 images: 0.0986 sec
OpenCV Error: The function/feature is not implemented (Unknown/unsupported array type) in type, file /home/ycliu/opencv/modules/core/src/matrix.cpp, line 1962
Traceback (most recent call last):
File "demo.py", line 102, in
CLASSES, args.thresh, args.show_timer)
File "/home/ycliu/mxnet-ssd/detect/detector.py", line 171, in detect_and_visualize
img = cv2.imread(im_list[k])
cv2.error: /home/ycliu/opencv/modules/core/src/matrix.cpp:1962: error: (-213) Unknown/unsupported array type in function type

cv2.__version__ shows that my opencv version is 2.4.8. I use python2.7
Does anyone has similar problem?

This may be caused by there are more than one versions of opencv in you enviroment.https://github.com/zhreshold/mxnet-ssd/issues/66

hi,
I have a similar problem :
version <IP_ADDRESS>
OpenCV Error: Assertion failed (channels() == CV_MAT_CN(dtype)) in copyTo, file /home/esi/open-last/opencv-master/modules/core/src/copy.cpp, line 259
Traceback (most recent call last):
File "/home/esi/deep/mxnet-ssd/tools/../mxnet/tools/im2rec.py", line 293, in
image_encode(args, i, item, q_out)
File "/home/esi/deep/mxnet-ssd/tools/../mxnet/tools/im2rec.py", line 117, in image_encode
img = cv2.imread("/home/esi/deep/mxnet-ssd/data/VOCdevkit/VOC2007/JPEGImages/001962.jpg")
Python version is 2.7.
Morevover when I execute the cv2.read function in a single script, it works.
Any Idea ?

This may be caused by there are more than one versions of opencv in you
enviroment.https://github.com/zhreshold/mxnet-ssd/issues/66
The page of issues 66 is missing. However, I do have to versions of opencv in my computer, 2.4.8 for python2 and 3.2.0 for python3.
I still do not know what causes this problem. However, I find a way to work around. I use ipython and type
import cv2
then
%run demo.py

and it works. It seems that I have messed up my path setting.


Deletting all messages sent by my bot into a chat.

Hello.
I'm trying hard to delete all the messages sent by my bot into a chat.
I know that it is not possible to delete the messages sent by the user, so, i want at least delete all the messages sent by my bot.
so far to save a message id sent from my bot I use this code
messages_ids.update({chat_id: lastMessage})

That store in a dictionary the chat ID and all the information about the last messages that the bot sent.
Then, I delete the last message whit this method:
bot.deleteMessage(telepot.message_identifier(messages_ids[chat_id]))

But obviously I can't delete the message sent to a user before I implemented this method.
So, to clear the old chats, can I delete in someway all the message sent by my bot?
Or maybe there is a way to get all the messages ids of messages already sent? In this way I'd do a for cycle.
But I cannot do a for cycle without the ids because I should check hundred thousand messages for chat and obviously it would be really slow and annoying.
Hopefully there is an easier solution, Thankyou.

This command here : messages_ids.update({chat_id: lastMessage}). Does it delete the last message or is lastMessage a variable name?


Geo Data

Generated at build-time so that no license is required and IPs of visitors aren't unwillingly leaked.

[ ] Generate geo.yml (so that yaml-loader can be used, less dependencies) in pre-build
[ ] Parse geo.yml at buildtime
[ ] Populate GEO object and watch for matches to be state.complete on render.

Completed with 0.0.11 release


Adding date range time example to docs.

Adding the example mentioned in #3235 to the docs.

@stephenworsley Awesome, thanks.
You've got some Travis CI failures. Could you re-base your branch against master and push this to your branch?
Hopefully this should resolve these issues.

@stephenworsley Thanks :+1:
I'll just take a peek at the rendered documentation changes, and take it from there...

@stephenworsley Nice. Good job :smile:
Since we're in this space, could I cheekily ask for an additional change, just to bed in the example of using a date range in a constraint and the use of iris.time.PartialDateTime objects.
Just after the section:
>>> import datetime
>>> from iris.time import PartialDateTime
>>> dt = datetime.datetime(2011, 3, 7)
>>> print(dt > PartialDateTime(year=2010, month=6))
True
>>> print(dt > PartialDateTime(month=6))
False
>>>

These two facilities can be combined to provide straightforward calendar-based time selections when loading or extracting data.
Could we bring it all together with a further example along the lines of:
>>> from iris.time import PartialDateTime
>>> pdt1 = PartialDateTime(year=2007, month=4, day=16)
>>> pdt2 = PartialDateTime(year=2007, month=4, day=30)
>>> daterange = iris.Constraint(time=lambda cell: d1<= cell.point <= d2)
>>> data_subset = long_ts.extract(daterange)
>>> print(data_subset.coord('time'))

which builds on your new example, but using PartialDateTime objects instead... what do you think?
Of couse, add some suitable introductory text, as you see fit.
It also means that we might need to slightly rephrase the The previous constraint example can now be written as: sentence, as it's slightly confusing as to which constraint it's referring to - clearly the hour_11 constraint.

@stephenworsley Also if you make your next commit message "closes #3235", this mean that once this PR is merge, GitHub will automatically close the associated issue, see https://help.github.com/en/articles/closing-issues-using-keywords

@bjlittle I believe there is already an example doing more or less the same thing with the st_swithuns_daterange, though it might make sense to modify the dates in the new example to match up. I'll see what I can do about clearing up any ambiguity in the 'previous' references.

@stephenworsley Yeah, I think that it's the overall flow of that section is just not quite right... there are a mixture of dates, constraints and examples and for first time reader, I can only think that it's harder work that it should be.
It would be awesome for you could manage to smooth out the wrinkles and yet get across all the relevant points of time constrains.
See how you go, and we can always talk about it in person tomorrow if it's easier :smile:


Ask for help [non-bugs]

question:

How to delete the newly created notebook in Joplin 2.11.9?
How to delete the newly created subnotebook in Joplin 2.11.9?
Can you tell me if you know how? Thank you very much!
Windows10

Whatever situations you've created a notebook, subnotebook, note, or tag, you just need to right click the target element and select Delete, It will work perfectly fine. See below:

P.S. I'm using Win11 but I think it's just the same.

Additionally, if it's not working for you, please try to go to Help > Toggle safe mode and it will restart Joplin in the naked mode, then try again to create & remove folder. It's just to make sure if the problem is caused by any other plugins you've installed.

Thank you very much for your sincere answer 😜👍👏🎉, what is your jopin version?
One more question, how did you remove unreferenced note attachments, eg: image resources etc

My end goal is to want to delete those old notebook folders. However, a notebook folder is never displayed in jopin's resource manager. This design idea is very confusing.

I'll try your way next time. Because I just uninstalled joplin again.😂

I'm using Joplin v2.11.19.
When you've created any attachments within your notes, Joplin will generate the resources in the standalone resources folder for the specific profile. You can just visit that folder by going to Help > Open Profile Directory.
I'm not so sure what exactly your situation is about the old notebook not showing up.

It's fine, but even if you have uninstalled Joplin, your old notes are still in the Joplin's directory.

Um! Yes. 👌
Also the themes you provide are great! It is because of your excellent theme that I reinstall joplin again and again, thank you very much! 😜

Umm... But "reinstall Joplin again and again" is not the experience ReMoods expected to provide you. 🤣
Anyway, thank you for loving ReMoods, just feel free to let me know if there is anything I can help with. Cheers 🥂
-Sinacs

no problem! At the same time, I hope your theme will become more and more robust and perfect, and I hope you have a happy work! 🥂
Take the liberty to ask! Are you a Hong Kong compatriot? 😜

I hope so, and yes, I'm from HK. So, it's welcome to reports in Chinese. BIG HUG! 🤗

Hong Kong has always been a role model for us to learn from👍👍👍😜 We have been deeply infected by the cultural atmosphere of Hong Kong since childhood (Jin Yong TV series, Hong Kong movies, etc.). Most compatriots in Hong Kong are also much more educated than us. I sincerely hope that Hong Kong's tomorrow will be better and better! The compatriots in Hong Kong will become better and better! 👍👍👍😜

We are both having our good and bad, but all of that just come from our living environment, and it's not necessary to compare which is better. We have to learn from each other not due to who's better, it's just because the word "changes" is always working shadily behind "better". I believe wherever people are born, everything must be better just because they truly work things out together.
I'm happy that you love my home place, and I love China too since I've my job in GZ and SH for 6 years in the past, and it also created a lot of unforgettable memories for me. Whatever, thank you for recalling my happy memories again! Let's grow together and all become better!

ok 👌! Let's grow together! work together! Let's become a valuable person in this society together! 👍😜🥂


Bot accepts trades when he is the one overpaying

Hey, so I tested this out with my friend. He traded my bot $1 for a $20 skin and the bot accepted it, he also did $30 for $60 items, and much more. I'm not sure how to fix this my config values the user items at 85%

I'm assuming you guys don't know how to fix this issue oh well

Oh too bad, maybe you can stop being annoying and do something for
yourself, too bad
On Mon, Jul 3, 2017 at 18:40 ScheeK4<EMAIL_ADDRESS>wrote:

I'm assuming you guys don't know how to fix this issue oh well
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Arze1/CSGO-Overpay-Bot/issues/58#issuecomment-312745039,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASwnzESvuShEAv6te1PBhLeWB0Mp4YVqks5sKW3zgaJpZM4OKCnZ
.

Hey, sorry for bothering you, just posting my issue on the issue tab that github provides for their users who create products for other users. My apologies.

But thanks for your help, best of luck.


Custom tags for the backup resource group

Some policies configured in our environment deny the deployment of resource groups without specific tags. When we try to configure backup policy we can provide the name of the backup resource group, but we can't find any option to provide custom tags.
Is there any way we can configure tags for that group?
Otherwise, the resource group creation fails as it is denied by the policy that requires tags on the resource groups.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: f7102948-dcb5-bc73-3a61-a4764ae6a77d
Version Independent ID: 4a234f8c-1f05-ab83-a46c-add8b701346f
Content: Enable backup when you create an Azure VM - Azure Backup
Content Source: articles/backup/backup-during-vm-creation.md
Service: backup
GitHub Login: @jyothisuri
Microsoft Alias: jsuri

@GrzegorzHejman
Thanks for your feedback! We will investigate and update as appropriate.

@GrzegorzHejman You can ignore Azure backup RG in the policy definition by defining exclusions - https://learn.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure

@GrzegorzHejman The only workaround we currently have is to exclude the Azure backup RG’s in the policy. You can go into the policy and add this to it.
{
  "mode": "All",
  "policyRule": {
    "if": {
      "allOf": [

        {
         "field": "type",
          "equals": "Microsoft.Resources/subscriptions/resourceGroups"
        },
        {

         "field": "name",
         "notLike": "AzureBackupRG_*"
        },
        {
          "field": "[concat('tags[',parameters('tagName'), ']')]",
          "exists": "false"
        }
      ]
    },
    "then": {
      "effect": "deny"
    }
  },
  "parameters": {
    "tagName": {
      "type": "String",
      "metadata": {
        "displayName": "Tag",
        "description": "The name of the tag. e.g. AppName, Environment, CCION"
      }
    }
  }

Hope this helps!

@GrzegorzHejman Hope the previous response was helpful. Closing this thread for now. Please reply if you still have questions and we will be glad to continue the conversation.


Channel selected event

When the user select a channel an event should be triggered so the developer can implement a callback for that action.

I believe you already can by using the fetch-messages event - when a room is first opened this fires with reset: true set in the options parameter.

@infobiac Yes you are right

Yes, worked perfectly, thanks!


Why i got an error when running android-resource-remover

Traceback (most recent call last):
File "D:\Python\lib\runpy.py", line 162, in run_module_as_main
"main", fname, loader, pkg_name)
File "D:\Python\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "D:\Python\Scripts\android-resource-remover.exe_main.py", line 9, in

File "D:\Python\lib\site-packages\android_clean_app.py", line 141, in main
lint_result_path, app_dir, ignore_layouts = run_lint_command()
File "D:\Python\lib\site-packages\android_clean_app.py", line 78, in run_lint
command
call_result = subprocess.call([lint, app_dir, '--xml', lint_result])
File "D:\Python\lib\subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "D:\Python\lib\subprocess.py", line 710, in init
errread, errwrite)
File "D:\Python\lib\subprocess.py", line 958, in _execute_child
startupinfo)
WindowsError: [Error 2]

please check if lint command is in you PATH

@CharonChui can you please check fi the lint command is in your path. otherwise we close this issue. Thanks

I get the same error, and I have lint in my path
pip install android-resource-remover
Downloading/unpacking android-resource-remover
Downloading android-resource-remover-0.1.4.tar.gz
Running setup.py (path:/tmp/pip_build_akis/android-resource-remover/setup.py) egg_info for package android-resource-remover
Requirement already satisfied (use --upgrade to upgrade): lxml>=3.3.3 in /usr/lib/python2.7/dist-packages (from android-resource-remover)
Installing collected packages: android-resource-remover
Running setup.py install for android-resource-remover
error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/android_clean_app.py'
Complete output from command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_akis/android-resource-remover/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-DmuZMG-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying android_clean_app.py -> build/lib.linux-x86_64-2.7
running install_lib
copying build/lib.linux-x86_64-2.7/android_clean_app.py -> /usr/local/lib/python2.7/dist-packages
error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/android_clean_app.py'

Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_akis/android-resource-remover/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-DmuZMG-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_akis/android-resource-remover
Storing debug log for failure in /home_local/akis/.pip/pip.log

this is not the same error. this is a permissions problem when installing android-resource-remover


new plugin: copy file/dir within build container to NFS share

We need to import final image into koji. koji has its backend on NFS. We could possibly create a bindmount from the NFS on host to secrets dir and put the final built image inside this dir.
Previously proposed solution

mount NFS inside secrets path on host:

/mnt/nfs/path` -> `/usr/share/rhel/secrets/something

our docker does this automatically: it mounts /usr/share/rhel/secrets from host to /run/secrets in container
finally, if we copy tarball to /run/secrets/something it could be propagated to NFS

Current solution
Pre-req: build container has to have /sbin/mount.nfs

create directory for mountpoint: /path
mount the nfs share: mount -t nfs -o nolock nfs:/export /path
copy file to /path

Plugin's configuration

nfs chain (nfs:/export)
-o opts, nolock is required:

mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.

path, where to copy the file

Well, I have the plugin (https://github.com/jpopelka/dock/commit/530146271fefeef2fba466c336416ae29fb99e41) and it does what's been requested, i.e. copies the built image tarball into /run/secrets/built_images/.
But it seems that the content of /run/secrets/ is not propagated back to host, so it doesn't look like the way to solve this issue.

I was told today that the secrets patch is implemented via tmpfs and not as bind mounts. Therfore it can't work :/

I have finally figured out a solution to the problem, which is getting the tarball to NFS.
% docker run --rm -ti --privileged fedora:22 bash
[root@e40165809ef4 ~]# dnf install -y /sbin/mount.nfs
[root@e40165809ef4 ~]# mkdir /asd
[root@e40165809ef4 ~]# mount nfs:/export -o nolock -t nfs /asd
[root@e40165809ef4 ~]# cp -a image.tag /asd/path/

Could you please incorporate such functionality into the plugin? Am renaming this issue accordingly.

Nice

docker run --rm -ti --privileged fedora:22 bash

Does it mean it'll be possible to run the plugin only with --method privileged ?

dnf install -y /sbin/mount.nfs

Will the nfs-utils be part of build-image or should I install it with the plugin ?

mkdir /asd

Perhaps /tmp/asd/ ?
BTW, I have a course these 2 days (Mo, Tue), so I'll take a look this evening if nobody does it first.

Does it mean it'll be possible to run the plugin only with --method privileged ?

Hmmm, good point. You need to have CAP_SYS_ADMIN to be able to mount. Meaning, you either have to specify that cap when creating container or running container as --privileged. It looks like we might start looking into dependencies of plugins.

Will the nfs-utils be part of build-image or should I install it with the plugin ?

It should definitely be part of build image: I would prefer creating subpackage with plugin and setting Requires: nfs-utils there.

Perhaps /tmp/asd/ ?

This is a tricky one. /tmp is probably read-only tmpfs, not sure how that stuff works: if we can put write mountpoint there.

I guess the name will be as part of tar_metadata: #122. After you implement this functionality please create API in osbs similarly to https://github.com/DBuildService/osbs/issues/111

If this is intended to get data into the file store of a Koji instance, then you should not rely on having write access to that share. It would be more correct to upload through kojihub, but perhaps I am missing context.

To satisfy @mikem23 concerns we found alternative solution. From dock point of view there won't be any change - it will copy image to mounted NFS share. The difference will be in the machine configuration. NFS share will be on the builder machine. In the architecture where Koji is involved the directory where dock writes images will be available via httpd.


Error doing Setup()

Hi!
I want to change the Record Time at runtime so i use Setup to set the buffersize, but it always gives me this error:
ArgumentException: Object type System.Single cannot be converted to target type: System.Int32
Parameter name: val
System.Reflection.MonoField.SetValue (System.Object obj, System.Object val, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoField.cs:148)
System.Reflection.FieldInfo.SetValue (System.Object obj, System.Object value) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/FieldInfo.cs:150)
Moments.ReflectionUtils`1[Moments.Recorder].ConstrainRange[Int32] (System.Linq.Expressions.Expression`1 fieldAccess, Single value) (at Assets/Moments Recorder/Scripts/ReflectionUtils.cs:78)
Moments.Recorder.Setup (Boolean autoAspect, Int32 width, Int32 height, Single fps, Single bufferSize, Int32 repeat, Int32 quality) (at Assets/Moments Recorder/Scripts/Recorder.cs:174)
RecordChromaController.SetRecorder () (at Assets/01_Scripts/App/RecordChromaController.cs:75)
RecordChromaController.Start () (at Assets/01_Scripts/App/RecordChromaController.cs:37)

This is what im doing:
 m_Recorder.Setup(true, 720, 405, 15f, 4f, -1, 15);
Thanks!

Good catch, that should be fixed now 👍


Create a better npm package

Pulling in this project as an NPM package ends up pulling in a whole load of packages and when others use this package they need to know to setup SASS to use this, gov uk elements, govuk jinja etc...
Move all packages needed to dev dependencies and make changes to the build script to move all source and dependent sass, images, templates into a dist folder and then package that up.
To test, create a simple project that just pulls this one dependency in and then in that project build test assets.

Also, pull the images (crowns etc) from the toolkit project or wherever they came from and copy them into this project rather than duplicate them in the project.


Disable issues in other rorm projects?

Maybe it would make sense to disable issues in the rorm subcomponents and tell users to open issues on the rorm project. This would have the benefit of having all the issues and feature requests in one place and avoids possible duplicates. Additionally users outside the maintainers of rorm might not know on which project to post issues.
Maybe rorm-lib and rorm-cli could have their own issues page, but I think just adding labels for them and putting them all here in rorm would work just as well.

I guess that would be an idea. I'll let the issues for rorm-lib and rorm-cli enabled as those are issues that doesn't belong to rorm itself.


Cannot read property of 'body' of null.

Error is happening here: https://github.com/AngularNYC/angular-presentation/blob/e8e6309ab8e336d3a88a35d65acfb0bc97fcc5cf/src/app/exercise/runner/runner.component.ts#L88
Seems to only happen in overview mode.
core.es5.js:1084 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'body' of null
TypeError: Cannot read property 'body' of null
    at Object.setHtml (runner.component.ts:88)
    at runner.component.ts:287
    at ZoneDelegate.invoke (zone.js:365)
    at Object.onInvoke (core.es5.js:4125)
    at ZoneDelegate.invoke (zone.js:364)
    at Zone.run (zone.js:125)
    at zone.js:758
    at ZoneDelegate.invokeTask (zone.js:398)
    at Object.onInvokeTask (core.es5.js:4116)
    at ZoneDelegate.invokeTask (zone.js:397)
    at Zone.runTask (zone.js:165)
    at drainMicroTaskQueue (zone.js:591)
    at HTMLDivElement.ZoneTask.invoke (zone.js:464)
    at Object.setHtml (runner.component.ts:88)
    at runner.component.ts:287
    at ZoneDelegate.invoke (zone.js:365)
    at Object.onInvoke (core.es5.js:4125)
    at ZoneDelegate.invoke (zone.js:364)
    at Zone.run (zone.js:125)
    at zone.js:758
    at ZoneDelegate.invokeTask (zone.js:398)
    at Object.onInvokeTask (core.es5.js:4116)
    at ZoneDelegate.invokeTask (zone.js:397)
    at Zone.runTask (zone.js:165)
    at drainMicroTaskQueue (zone.js:591)
    at HTMLDivElement.ZoneTask.invoke (zone.js:464)
    at resolvePromise (zone.js:710) [angular]
    at :4200/polyfills.bundle.js:3534:17 [angular]
    at Object.onInvokeTask (core.es5.js:4116) [angular]
    at drainMicroTaskQueue (zone.js:591) [<root>]
    at HTMLDivElement.ZoneTask.invoke (zone.js:464) [<root>]

I found the bug. I will open a pr soon

@kirjs I opened the pr https://github.com/AngularNYC/angular-presentation/pull/103
The problem was that by the time iframe was loaded we would have already delete it from the cache. I added an extra flag to the cache to check if the iframe can be delete. Iframes that can be deleted are the once that have already loaded.
I hope this was the real solution otherwise fill free to modify/close the PR.


Added authentication config for reading (issue #169)

to enable this feature just set authentication_for_read to true then only authenticated users can access knowledge base. (issue #169)

Looks good, thanks!
(Please PR against dev branch in the future)

ah forgot it, sure