fr8org / fr8core Goto Github PK
View Code? Open in Web Editor NEWHome of The Fr8 Project
Home Page: https://github.com/Fr8org/Fr8Core/blob/master/Docs/Home.md
License: Other
Home of The Fr8 Project
Home Page: https://github.com/Fr8org/Fr8Core/blob/master/Docs/Home.md
License: Other
Case:
Let's figure out a way to create these into the test project
The set of extracted fields in Extract Table Field starts off with a bunch of "Column0", "Column1". These don't seem to serve any purpose. Why are they showing up, and what would be involved in changing that.
Now user can see all of the terminals. Normal users need to see only their own submitted terminals. And Admins need to see all terminals
it creates potential breach in security.
FactsController intention similar to ReportController but for client reports, now it used for geting facts about container, but its functionality allows get any Fact if it's Id is known, it creates potential breach in security.
We can filter FactDOs by UserId, but would it be possible that Fact about Container with passed Id wasn
t created with Fr8UserId (created by some inner process)? If so, we get not complete data about container.
Apply the new security permissions model to Facts. When a Fact is created it should have as an owner a Fr8UserId and should be given an Organization ID, if one is associated with the owner.
Use the following Permissions for Facts:
Role: Permission
Current Owner: View Object
Admins For Current Organization Admins: View Object
Fr8 Admins : Edit Object
Verify that the current owner can retrieve all of their facts but not facts belonging to others (assuming the current owner is not also an admin).
Case:
We have a lot of strange things going on regarding a table having header row.
I believe the reason for that is because we were changing our mind from time to time on how we should handle it.
Currently, if I'm not mistaken, we treat any table that has more then one row as a table that has a header row
And if a table has only one row, then we copy this row and add in manifest as a header (which doesn't really make sence for me)
@alexed1 wrote:
In recent discussions where we've talked about having "one row" of data, that means one row of value data, not including a possible header row.
I'm not sure that we've identified any realistic scenarios where a table exists without a header row. downstream activities will have a tough time working with such a table. So I think we might be able to make a simplifying assumption that there's always a header row.
Sergey, can you give an example of what you describe here:
"And if a table has only one row, then we copy this row and add in manifest as a header (which doesn't really make sence for me)"
Case:
Result:
"Select Yammer Group" dropdown is not working in dev. Also, there is not any error on dev console.
Create Protractor test for user registration
Create a Jasmine test that starts with an account that does not have any valid tokens. Add a Salesforce.com Get Data activity. The Jasmine Protractor automation should click on Add Authorization and enter account information into the resulting oAuth popup. Then close the dialogs and verify that the activity no longer is trying to get authorization to happen.
Then clone this test and create versions for Google, Slack, DocuSign
Case:
Result:
User sees warning message about "This Activity is looking for incoming data from "upstream" activities but can't find any right now.". So, Monitor Fr8 Events activity doesn't give downstream to next activity.
The current docs at https://github.com/Fr8org/Fr8Core/blob/docs8/Docs/ForDevelopers/DevelopmentGuides/Terminals/dotNet/TerminalDeveloping-GettingStarted.md
say nothing about IIS, recently there have been some headaches related to this.
add a section that clarifies what we recommend people use and discusses what the alternatives are.
Setting for what projects are set for start up are stored in .suo file (user-specific solution settings file)
If we use IIS Express, then automation of setting up multiple startup is a very complex issue.
There is a very dirty possible solution of commiting .suo file, but it can lead to unexpected results.
.suo file can also be parsed, in theory, and modified.
However it might require to build a VS extenstion, in order to do that.
If we use local IIS then configuring multiple start up is not needed, once IIS is properly configured
Create protractor tests for contact page testing.
It checks URL for searching but after initial search doesn't allow other searhes until query from URL removed:
(Need to some resetting with each search in Angular side)
Because terminal architecture was changed couple times, necessary tests that was developed became obsolete. Create integration tests that covers basic functionallity and interaction.
It has been commented, a couple of times, that we don't have good architectural docs that describe the system overall to a newcomer.
We have this page, which is pretty high level: ArchitecturalModel. Create an additional page that explains the overall architecture of the system in greater detail.
This involves determining which Activities to display to a user in the activity chooser.
So far, we've defined a couple of classes of activity:
We generally never want to have activities in class 4. If an activity is not good or has been superseded by a better activity, we want to "put the activity out to pasture" and deprecate it, but not break old plans.
There's nothing in the Activity Template spec to specify this: https://github.com/Fr8org/Fr8Core/blob/dev/Docs/ForDevelopers/Objects/ActivityTemplates.md
If we used our Permissions system for this, we would rely on View Activity permission. The Hub delivers to the client a query of all activities that are active and for which the current user has View Activity and Execute Activity. To support this, when the Hub discovers a new ActivityTemplate, it would generate a default set of ObjectRolePermissions, allowing StandardUsers Fr8Admins to have View Activity and Execute Activity permission on it. When a Developer registers a new Terminal with the dev server, we should override that default method with a method that assigns these two permissions to the CurrentOwner Role, and the Admins and Fr8Admins but not the StandardUser. Later, we can add the ability for the Owner of a Plan to issue additional permissions.
To support the third scenario, we need a State that tracks whether an ActivityTemplate is Active or Deprecated or Inactive. In principle, we could envision this being specified in the ActivityTemplate. However, this is really a Hub decision. I think that for now we can get away with defining a State property in ActivityTemplate. This is optional for the data returned to a /discover call and should get stored in the ActivityTemplateDO in the db. However, we need a way for an admin to override this value from UI. That implies an Activity Details page that would be accessible from a list of Activities visible in the Terminal Details page. It should allow the State to be set to one of the three values, and immediately save that information (as well as log a Fact)
Case:
Result:
Account info fills into the labels automatically.
Expected result:
This should be removed and all credentials should be entered from users.
Alex Edelstein [Administrator]: We probably should have a utility method that goes through all of the plans in the directory and checks them to see if a category page should be created
Also, rename URL categorypages to category.
Putting the button where ordinary users can see it is not what we want.
Let's create a new page called Admin Tools that is accessible via an Admin Tools menu item on the Admin menu. This page should say "Admin Tools" and have the Generate Pages button. This button should have a label: "Manually processes Plans to generate missing Plan Pages"
the real goal of this issue is to fix and improve the docs. So the emphasis at this point should be on making changes to them. "Investigation" is only useful to the extent it drives these changes. So please proceed to update the docs:
Since it is loading from both ui-rooter and ng-include(from Dashboard/Index.cshtml), controllers under Mainontainer_AS are being called twice, and it cause some problems on events.
Add unit tests for StatX
Our current solution structure is a bit messy: terminals, tests, hub and everything else are mixed within one folder. This makes it hard to navigate within solution folder and visually blur different component roles and dependencies:
To make it easier for new developers to understand our system and to evolve our system we should restructure solution to be more ordered. I suggest the following structure:
currently Manifest Registry only accessible for logged users in dashboard: https://fr8.co/dashboard/manifest_registry,
it should be available without necessity to login into app, from https://fr8.co/manifest_registry
Protractor tests are failing on build servers. This is probably about chrome and chromedriver version mismatch. Investigate and fix this
Allow to create and configure activities that do not belong to any plan at all. In this case 'Solution' call /createAndConfigure (or just /create) and get configured activity. Created activity then should be added to the children of 'Solution' at the terminal side. During /create call no DB records are created and created activity remains in-memory of Hub until it is configured and sent to the terminal back.
When we create plan and add "Get Data from Warehouse" and "Query Fr8 Warehouse" activities for testing, we see that they don't signal any fields.
Query_Fr8_Warehouse signals and produces StandardPayloadDataCM>("Found MT Objects").Both of these crates should be visible in slack field selection.
Example Plan:
http://dev.fr8.co/dashboard/plans/1ff733d2-ad01-4fc1-9144-75ef19c0f220/builder?viewMode=plan
Case:
Result:
We can not moved slack activity under Loop's activity. There is a box exist in plan builder when we want to move.
Now development user and administrator account are created in MigrationConfiguration.cs. We need to remove account creation from this file.
At the very least leave only service users and a single administrator account (Master administrator) in this file.
Also, we need to reset passwords for ALL the users and administrator accounts mentioned in the migrations file and make sure that new password never appear in the Fr8Config repository files. If necessary, move them to the Settings.config files located in the Fr8Config repository.
A better route would be to create a simple setup wizard (a la Wordpress) which would show up at the first run and allow User to create a master administrative account. Later we could use this wizard to simplify other kinds of configuration (e.g. email server settings).
Detect when popups are being blocked, and warn the user so they understrand why oauth isn't working
Create necessary unit tests for terminalFacebook
Moving forward, the crude "internal flag" should be replaced by an evolution of our permissions model. We use this currently to prevent users from seeing plans like the one generated by the DocuSign terminal to monitor incoming events.
the problem is when we call /DockyardAccount/Index to log in, server respond not with structured document as defined in w3c but with chunks of html (divs, header
s, h1s) it is not good for search engine. I fixed that page, but reviewing other pages i found they a not coordinated, i.e. many of them don
t have common layout page and defines html layout 'ad hoc'. even more that it becomes very hard to control SEO specific things like meta keywords, description and other related things.
Update docs to explain UI Crate Rendering logic on FrontEnd
Expected:
Actual:
There's a lot of confusion about this topic:
We don't really have any documentation on it that I can find. I've created a placeholder page at https://github.com/Fr8org/Fr8Core/blob/docs-FR-5136/Docs/ForDevelopers/OperatingConcepts/Authorization/TerminalAuthentication.md
Create content for this page
This is a test issue
https://github.com/Fr8org/Fr8Core/blob/dev/Docs/ForDevelopers/DevelopmentGuides/Activities/TerminalActivity.md
is divergent with current class structure.
In .net, the getting started instructions require developers to hand tune their Multiple Startup Projects. Isn't there a way we can set the default inside the solution so that it starts multiple projects automatically, as soon as its cloned from github and run? Doing this would simplify the getting started process. Investigate.
Setting for what projects are set for start up are stored in .suo file (user-specific solution settings file)
If we use IIS Express, then automation of setting up multiple startup is a very complex issue.
There is a very dirty possible solution of commiting .suo file, but it can lead to unexpected results.
.suo file can also be parsed, in theory, and modified.
However it might require to build a VS extenstion, in order to do that.
If we use local IIS then configuring multiple start up is not needed, once IIS is properly configured
Case:
Login
Go to my account page
Click admin at the top of right
Click "Run Manifest Registry Monitoring" list item
Result:
User doesn't get any action after click this button.
Most of us are using IIS Express because
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.