-
Notifications
You must be signed in to change notification settings - Fork 45
Ka.temp1 #12385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kurtassad
wants to merge
55
commits into
master
Choose a base branch
from
ka.temp1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* prettier updates * eslint updates save * save * save * save * update package.json * remove old procfiles + fix tsconfig * server tsconfig + global tsconfig * tsconfig inheritance from root tsconfig * update gitignore to ignore yarn-error.log * TBC tsconfig * check-types script in tbc package.json * remove test/tsconfig.test.json * save * update eslintrc * eslint fixes * stylelint fix * save * save * common-common eslint * common-common eslint fixes * common-common prettier config + call fix * common-common tsconfig updates * common-common prettier formatting * prettier + tsconfig fixes * fixed commonwealth types * CW eslint fixes part 1 * eslint config update * CW eslint fixes part 2 * chain-events eslint fixes part 1 * chain-events linter fixes * chain-events formatting * chain-events type fixes * chain-events eslint config + fixes * snapshot-listener prettier format * TBC prettier format * TBC eslint config + fixes * eslint config fixes * chain-events eslint fixes * eslint fixes * updated gh action to v16 * code quality gh action checks * fix cw tests * add install dependencies step to Code Quality Checks GH action * commonwealth package prettier format * fix CW type after prettier formatting * fix CW type after prettier formatting * run prettier * update actions to v3 * GH CI fix * upgrade to node v18 * update procfile with node options max_old_space_size * update CI to node v18 * Added eslint rule to enforce "import type" style imports when possible. * Resolved merge conflicts * Reverted node change * Added prettier fixes * downgraded CI to use node 14 * fixed eslint errors * Fixed remaining eslint warnings Co-authored-by: kassad <[email protected]>
* Refactored webpack config * Changed scss-loader to fast-scss-loader * Updated construct-ui to avoid scss deprecation warning * Updated webpack version * updated webpack loaders * Added plugin to webpack to bundle the css for safety * Made fonts lazy-load * Reverted to babel-loader * Added script to easily set up new db * removed unused webpack rules, moved babel loader to prod config * fixed webpack css output cache invalidation * optimize bundle * move in dependencies * Removed CopyWebpackPlugin * Added cssMinimizer * Reverted fonts to make them eagerly load * Added support for building running external webpack * Fixed support for building running external webpack * Cleaned up server.ts * Fixed merge conflicts * Fixed type errors * Fixed dev server error * Resolved merge conflicts Co-authored-by: Jake Naviasky <[email protected]> Co-authored-by: dillchen <[email protected]>
Co-authored-by: Alex Young <[email protected]> Co-authored-by: Dillon Chen <[email protected]>
* Add GET /threads stub. * Finish all the stubs for the GET routes, import into router properly, ready to go into KONG (no data returned, just RESTful 👀 * Make util for formatting sequelize query options * Add comments and make clearer * GET Profile (singular) * GET profile routes, singular and plural * Fix getProfiles * Add IPagination as exported type for queries helpers, apply to all api V1 routes * Saving inprogress work * Handle addresses or addressIds * In progress getComments * Split subscription model to speed up tests * Added external api endpoints and tests. Minor refactor to TokenBalanceCache * Added errors handling and remaining endpoints/tests for external api * Fixed error handling * Added put comments endpoint * refactoring error validation for external api * fixed build errors * moved over more external api classes to use express-validator * Added express-validation error handling for external APIs * fixed put request helper * Added more external APIs and tests * Added missing external apis * Added lexdao support for communities route * Added support for LexDao in putCommunities route * Fixed build errors * Added swagger docs to external API * external API added check to make sure user owns address for db entity they are POST requesting * Fixed delete external APIs * Added tests for deleteReactions and deleteRoles and updated swagger doc * Fixed broke apiv2 tets * Disabled some external API POST fields * Resolved merge conflicts * Removed post Roles for external api Co-authored-by: Jake Naviasky <[email protected]> Co-authored-by: zakhap <[email protected]>
* i tried * working * prog * progress * prog * prog * working thing * remove gross code * cleanup * css cleanup * empty prompts * cleanup * swap to dalle * cleanup Co-authored-by: Alex Young <[email protected]> Co-authored-by: Alex Young <[email protected]> Co-authored-by: Dillon Chen <[email protected]> Co-authored-by: Jake Naviasky <[email protected]> Co-authored-by: zakhap <[email protected]>
* Beginning implicit permissions * Adding implicit mapping * Adding implicit permission compute * adding computeImplicit tests * Update isPermitted.spec.ts * Added more tests for implicit permissions * Update CI.yml * Update aggregatePermissions.spec.ts * Need to handle implicit denials * Denials on Add Permission * Fixed Implicit Permissions to take into account both allow and denial implicit permissions * Missing Implicit permission for chats * Reformatting via Linter and Auditing List of Permissions * Update permissions.ts * PR changes and fix up tests * Update permissions.ts * Adding Base Permissions Defaults * Squashed commit of the following: commit 7671db2 Author: Daniel Trinh <[email protected]> Date: Thu Dec 8 17:52:02 2022 -0400 Update permissions.ts commit eb4d432 Author: Daniel Trinh <[email protected]> Date: Thu Dec 8 14:06:33 2022 -0400 Refactor Aggregate Permissions commit ee61c98 Author: Daniel Trinh <[email protected]> Date: Thu Dec 8 11:35:22 2022 -0400 IsImplicit Check function * Reorganize the Permission Actions Update roles.ts Reorganize the Permission Actions Update permissions.ts * Removing computing of implicit permissions, because no implicit gates exist yet * Sticking with Spec, adding implicit permissions explicitly * Fixing tests * Recursive solution for implicit permissions * Clean Up Recursion * Update permissions.ts * Update addRemoveImplicitPermissions.ts * More Tests for Implicit Action Recursion * Fixing Recursion Bug * Update aggregatePermissions.spec.ts * Remove unnecessary function * Add Recursive Denial Implicit Permissions and Tests * Refactored Permissions for Explicit definitions for allow/deny permission adding and removing * Update permissions.ts * Fix tests * Finalized Implicit Trees * create getRoute with single SQL query * add create update routes * complete SQL queries for CRUD * create gateActionWithPermissions methods * update types and role permissions * gate createRole endpoint * add permission routes * update compute methods * add PermissionManager unit tests * enforce stronger types * add more unit tests for computePermissions * fix permissions object to bigint bug * create mapPermissionToBigInt method * update RolesController * fix type errors * add further unit test cases, add map accessLevelPermissions * update types, fix types, enforce AccessLevel enum * fix wrong method name in unit test, remove typo dup file * update permissionManager unit test * add missing type onto permissionManager method * fix intergration test * debug integration test * refactored get methods and unit tests on permissions class * fix all permissions managers methods and tests * remove old test file, dup unit tests * fix computePermissions tests * remove maps for implied permissions, refactor to pass compute unit tests * fix all compute unit tests * add enum for allow deny permission check, refactor tests * add missing action to implied constants, all unit tests passing * remove redunant constants * swap old instances of isPermitted to hasPermission * add missing type for eth keys adapter * fix config typo * fix config typo * add missing bracked in tsconfig * remove package-lock * remove added changes to CI.yml * update CI.yml with master * merge in thread.spec from master * fix types * fix intergration test * eslint ignore permissions * add missing imports Co-authored-by: Daniel Trinh <[email protected]> Co-authored-by: Jake Naviasky <[email protected]>
* Adding Delete back * Fixing Lint Problems in Solana and Moloch chains * Commenting out Address Based Chainloading * fixing form issue with createChain * Add Contract Form * Created Create Contract Types, Form, and skeleton for Route handler * Writing createContract Endpoint * Fixing Bugs in Endpoint * Fixing Error in Create logic * Update COntract * Fixing updateRoute * delete contract * Update ChainInfo.ts * Update ChainInfo.ts * Update ChainInfo.ts * Update ChainInfo.ts * Create generate_ui_from_abi.tsx * Adding to UI Form * Function Info Helper Component * Function items * Update Function UI Subcomponents * Update function_info.tsx * Helper functions to fetch abi + etherscan, Contract Store Functions, adding helpers into UI * Fetching helper results * Printing Functions From Etherscan ABI * Wrap Up Helper Functions For ABI Extraction * Fixing Null issue for Contract Getter * Update generate_ui_from_abi.tsx * Update add_contract_form.tsx * Update add_contract_form.tsx * Wrap Up Util Functions + Refactor General Contract * Update Events * Routes Added Plus Static Page with Contract Retrieval * Autofilling the ABI to State * Update index.tsx * Removing Speccing Page * Internal Types Mapping * Update types.ts * More Typings specific to ABIs * Wrapping Up Adapter Signing Logic * Update types.ts * Generalizing Typings better + Sign Tx for Wallets web3 * Update chain.ts * Add 404 * Adding Info Component * Stack of Functions view * Refactored out state variables. Return ABI in class function instead * Unblocked state issue! * New Styling * More styling * Function + Function Infos * Add Button For Calling Functions * Beginning Form Input Validations * Validate Logic * Adding Ethereum Chain Declarations * Update index.tsx * Using Web3 Library and beginning web3 logic using ethereum chain for function caling * Enforcing Ethereum Chain on Page * Processing arguments in a basic fashion * initializing EthereumChain logic for web3 calls * Begin Writing State * Fixing Errors and Creating Mock Test * Remove unncessary fns * Sending txs and broadcasting instead of presigning * Fixing erroneous calls * Debug tx complete * Create Form State * Update IWebWallet.ts * Adding mapping to state * Form Working in Basic Test! * Update index.tsx * Adding some decoding * updates * Update index.tsx * Fix common-common ContractTypes * Fix enum usage * Fix all typecheck errors * Remove contract controller init at app init * fixing small UI weird look * Rename file, move location * Fix merge conflicts * resolving conflicts * Updating to date with master * Keeping abi as string for now, otherwise will break the UI code * PR Pair Programming With Zak * Fixing type issue * Update NftAdapter.ts * Update chain.ts * Update adapter.ts * Update chain.ts * Update adapter.ts * Fixing merge diffs * Update index.tsx * Fixing type for abi * Update createContract.ts * Update index.tsx * Update add_contract_form.tsx * Update add_contract_form.tsx * Create generalContracts.ts * Update abi_utils.ts * Migrate over model changes * Update chain.ts * Update IWebWallet.ts * Update NodeStore.ts * Update metamask_web_wallet.ts * Migrating the general contracts controller * Migrating refactored add contract files * Update where new contract route gets inserted * migrate the data migration for contracts * fixing migration conflicts * Update contracts.ts * Create new_contract_page.scss * Update index.tsx * Update ContractsStore.ts * fixing createContract * Applying refactors of abi Item data type * Moving types * Update index.tsx * Adding back contract abi * Refactoring abi fetching from etherscan * Removing community parameter that is unused * Fixing adding of contracts bug * Update contract.ts * Parsing Fixed * Fixing QA bugs Update ContractsStore.ts Update contracts.ts Removing consoles Adding page loading for etherscan fetch Major bug in loading to address by updating contract after etherscan abi fetch Update add_contract_form.tsx Update store with new contract with ABI result Fixing store update issues Explicit types for ContractAbi attributes * Moving validation function * Refactoring Input handlers into helper file * Update abi_utils.ts * Clean up for Zak Review * Refactoring data type parsing out into helper * Verbosity changes * Remove unnecesary state var * PR3 Contracts: Route and form for adding contract (#2105) * Update createContract.ts * Update index.tsx * Update add_contract_form.tsx * Update add_contract_form.tsx * Explicit Types and Returns * Removing extraneous logic * Fix merge conflict markers in /tokenBalance * Updating createContract for new ChainNode model * Update types.ts * add custom domain routes for contracts add custom domain routes for contracts * Removing node store function * Update generalContracts.ts * Update abi_form_helpers.ts * Writing unit test and simplifying helper function * Unit Tests for form helpers * Begin Abi Utils Unit Tests * Finalize Abi Util Unit Tests * PR comment Refactors * Final Refactors for PR * Update terra_walletconnect_web_wallet.ts * Update contracts.ts * Update add_contract_form.tsx * PR Changes * Cherry picking abi parse functions over and PR changes * Update createContract.ts * Update createContract.ts * PR Changes Update createContract.ts Update add_contract_form.tsx Update contracts.ts * PR Updates * fix bug in controller init * Pr Changes and Spinner * Add response types for client controllers * Refactoring Etherscan Fetching to be in the Server * adding axios retry * Removing fetching logic from client bc now in server * Refactor etherscan into it's own route on server and ALL PR CHANGES Refactor etherscan into it's own route on server Some contracts have abis stored as strings, so handle edgecase Update createContract.ts Update contracts.ts * Remove unused imports * Pr Changes * contract controller handle refactor * Fix contract destructure * add contract abi nickname across contracts + form updates * Handle new nickname fields in server * adding proper nickname validation and to etherscan fetch * Factoring out hardcode logic into separate helper * Refactored all wallet handling into controller * handle processing of args in call function of controller * Update generalContracts.ts * Squashed commit of the following: commit fb5b713 Author: affordances <[email protected]> Date: Wed Nov 23 23:23:11 2022 +0000 Vnode Part 4 (#2293) Co-authored-by: Jake Naviasky <[email protected]> commit fda796b Author: affordances <[email protected]> Date: Wed Nov 23 23:15:49 2022 +0000 Vnodes Part 10 (#2284) commit ea68c0c Author: affordances <[email protected]> Date: Wed Nov 23 23:05:20 2022 +0000 Add vnodes to pages part 2 (#2291) * login, manage community * fix types * revert types * whoops Co-authored-by: Jake Naviasky <[email protected]> commit 2acecfa Author: affordances <[email protected]> Date: Wed Nov 23 22:54:50 2022 +0000 Add vnodes to components part 11 (#2285) * all but search bar * use void Co-authored-by: Jake Naviasky <[email protected]> commit 595b50e Author: affordances <[email protected]> Date: Wed Nov 23 22:47:37 2022 +0000 Add vnodes to components part 8 (#2282) * WIP * move modal state into index * fix voting types * fix? Co-authored-by: Jake Naviasky <[email protected]> commit f665ac7 Author: affordances <[email protected]> Date: Wed Nov 23 21:29:55 2022 +0000 bounties, contracts, create, discussions (#2290) Co-authored-by: Jake Naviasky <[email protected]> commit f3191f0 Author: affordances <[email protected]> Date: Wed Nov 23 21:24:54 2022 +0000 first half (#2288) Co-authored-by: Jake Naviasky <[email protected]> commit ccda403 Author: affordances <[email protected]> Date: Wed Nov 23 21:15:09 2022 +0000 Add vnodes to pages part 5 (#2294) * THE END * fix type Co-authored-by: Jake Naviasky <[email protected]> commit f54e969 Author: affordances <[email protected]> Date: Wed Nov 23 21:09:01 2022 +0000 settings, overview, snapshot proposals, user dashboard (#2292) Co-authored-by: Jake Naviasky <[email protected]> commit 8e0cd65 Author: affordances <[email protected]> Date: Wed Nov 23 21:03:54 2022 +0000 second half (#2289) Co-authored-by: Jake Naviasky <[email protected]> commit 37892b3 Author: affordances <[email protected]> Date: Wed Nov 23 20:55:16 2022 +0000 Add vnodes to components part 9 (#2283) * quill and sidebar folders * remove tabindex Co-authored-by: Jake Naviasky <[email protected]> commit 03d2177 Author: affordances <[email protected]> Date: Wed Nov 23 20:05:02 2022 +0000 Vnodes Part 7: new thread form, proposal card, reaction button, tx signing (#2280) Co-authored-by: zakhap <[email protected]> commit 60486b7 Author: affordances <[email protected]> Date: Wed Nov 23 19:53:58 2022 +0000 Vnodes part 6: chat, comments, header folders (#2279) Co-authored-by: zakhap <[email protected]> commit 033e842 Author: affordances <[email protected]> Date: Wed Nov 23 19:48:16 2022 +0000 component kit stragglers (#2278) Co-authored-by: zakhap <[email protected]> commit daffca5 Author: Jake Naviasky <[email protected]> Date: Wed Nov 23 13:51:16 2022 -0500 Check for invalid chain in proposal scope route meta rendering. (#2286) * PR Changes * Fixed runtime error * Fix types * Added Cow Spinner and Typescript Support via gabe stuff * Final changes for Typescript Support * Refactored out logic into controller and factory logic into utils * Fixing bug with Pure functions * Fix merge conflicts * First pass on refactoring contracts controller and view. * Convert patterns and attempt web3 abi usage. * Backend cleanup. * Pass unit tests. * Ensure pages render. * Add todo. * First Pass at Refactoring Etherscan Route and Fixing Bad Error Handling * Adding Encoding Function Signature instead of manually processing it * Adding negative test cases and cleaning up validation functions * Proper Error handling and Add Empty Array Test Case * Cleaner Code and Better Tests * Clean Up Error Handling * PR updates with Jake * Cleaner Code: trimming try/catch fat * Abstracting abi validation into util helper * Fix imports * fix: Clean Up Old Contract Code * Squashed commit of the following: commit 2594273 Author: Raymond Zhong <[email protected]> Date: Wed Jan 11 19:43:41 2023 -0500 Session Keys PR4: Implement session key signing for other wallets (#2398) * squashed: rjwebb pr4 remove remaining mentions of timestamp revert finish_axie_login to master remove remaining mention of timestamp handle login edge cases: chains without timestamp and eth chains pre-initializing a chain fix: inconsistent chain identifier breaks cosmos signing pass chain id around on client-side (ported from pr2) fix near protocol login fix near (canvas) fix preexisting bug with address linking * fix chainId fetch for walletconnect * fix initialization of ChainNodes * remove cast * code splitting import * fix types * fix Co-authored-by: Jake Naviasky <[email protected]> commit 44a3474 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Jan 11 15:15:58 2023 -0500 Bump jsonwebtoken from 8.5.1 to 9.0.0 (#2382) * Bump jsonwebtoken from 8.5.1 to 9.0.0 Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) from 8.5.1 to 9.0.0. - [Release notes](https://github.com/auth0/node-jsonwebtoken/releases) - [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md) - [Commits](auth0/node-jsonwebtoken@v8.5.1...v9.0.0) --- updated-dependencies: - dependency-name: jsonwebtoken dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Bump jsonwebtoken from 8.5.1 to 9.0.0 in /packages/commonwealth Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) from 8.5.1 to 9.0.0. - [Release notes](https://github.com/auth0/node-jsonwebtoken/releases) - [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md) - [Commits](auth0/node-jsonwebtoken@v8.5.1...v9.0.0) --- updated-dependencies: - dependency-name: jsonwebtoken dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jake Naviasky <[email protected]> commit 418c042 Author: Raymond Zhong <[email protected]> Date: Wed Jan 11 14:05:10 2023 -0500 fix: overview page loading state (#2408) * fix: overview page loading state * Undo bad CWP change. Co-authored-by: Jake Naviasky <[email protected]> commit af7e1ed Author: Kurtis Assad <[email protected]> Date: Wed Jan 11 10:39:01 2023 -0800 Fixed package.json script (#2467) commit 99563ee Author: Alex Young <[email protected]> Date: Wed Jan 11 12:42:07 2023 -0500 Tagging Users in Comments Bug Fix (#2453) * fix * cleanup Co-authored-by: Alex Young <[email protected]> Co-authored-by: Jake Naviasky <[email protected]> commit a1044ad Author: Marcin Maslanka <[email protected]> Date: Wed Jan 11 18:36:10 2023 +0100 Catch unhandled exception on decoding URI (#2449) * Catch unhandled exception on decoding URI * Encode title when editing thread Co-authored-by: Jake Naviasky <[email protected]> commit 27157ea Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Jan 11 11:50:25 2023 -0500 Bump json5 from 1.0.1 to 1.0.2 (#2424) Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](json5/json5@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 5678ef2 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Jan 11 11:43:47 2023 -0500 Bump json5 from 1.0.1 to 1.0.2 in /packages/snapshot-listener (#2428) Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](json5/json5@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit eb24c56 Author: Kurtis Assad <[email protected]> Date: Wed Jan 11 08:36:27 2023 -0800 Removed MiniCssPlugin (creates unexpected behavior in javascript execution) (#2459) commit a0fac64 Author: Kurtis Assad <[email protected]> Date: Mon Jan 9 12:43:55 2023 -0800 Ka.webpack refactor (#2432) * Refactored webpack config * Changed scss-loader to fast-scss-loader * Updated construct-ui to avoid scss deprecation warning * Updated webpack version * updated webpack loaders * Added plugin to webpack to bundle the css for safety * Made fonts lazy-load * Reverted to babel-loader * Added script to easily set up new db * removed unused webpack rules, moved babel loader to prod config * fixed webpack css output cache invalidation * Removed CopyWebpackPlugin * Added cssMinimizer * Reverted fonts to make them eagerly load Co-authored-by: Jake Naviasky <[email protected]> commit 0d1b043 Author: Jake Naviasky <[email protected]> Date: Mon Jan 9 13:50:18 2023 -0500 Revert "Webpack update, fast-sass-loader, lazy load fonts (#2419)" (#2429) This reverts commit 68c6ae1. commit 68c6ae1 Author: Kurtis Assad <[email protected]> Date: Mon Jan 9 10:14:36 2023 -0800 Webpack update, fast-sass-loader, lazy load fonts (#2419) * Refactored webpack config * Changed scss-loader to fast-scss-loader * Updated construct-ui to avoid scss deprecation warning * Updated webpack version * updated webpack loaders * Added plugin to webpack to bundle the css for safety * Made fonts lazy-load * Reverted to babel-loader * Added script to easily set up new db * removed unused webpack rules, moved babel loader to prod config * fixed webpack css output cache invalidation * Removed CopyWebpackPlugin * Added cssMinimizer Co-authored-by: Jake Naviasky <[email protected]> commit 8ad6234 Author: Kurtis Assad <[email protected]> Date: Mon Jan 9 09:50:05 2023 -0800 fixed issue with cosmjs loading on landing page startup (#2414) * Split out types from chain-events into separate file * Made cosmjs imports async so that they are not eagerly loaded * Fixed type errors * Removed eager import of webpages Co-authored-by: Dillon Chen <[email protected]> commit c5f9998 Author: Alex Young <[email protected]> Date: Fri Jan 6 11:41:12 2023 -0500 Fix for Snapshot Consumer (#2417) * fix * comment and enum * Remove msgProcessContext circular stringify. Co-authored-by: Alex Young <[email protected]> Co-authored-by: Alex Young <[email protected]> Co-authored-by: Jake Naviasky <[email protected]> * Fix Types * Update index.scss [no ci] * feat(web3 function calls): refactor into more helpers * feat(web3 call function): Abstract out Broadcasting Method * feat(new ethers parsing): clean up decoding big time * feat(ethers interface is swag): cut down on a lot of parsing logic with ethers lib * Prettier Lint + Fix Types Manual Lint * kurtis fix so I can run it * naming fix * Prettier * Add New Contract and ABI page (#2517) * Add New Contract and ABI page * Get rid of eslint warnings Co-authored-by: zakhap <[email protected]> Co-authored-by: Dillon Chen <[email protected]> Co-authored-by: Jake Naviasky <[email protected]> Co-authored-by: Alex Young <[email protected]> Co-authored-by: Alex Young <[email protected]> Co-authored-by: Muon Shot <[email protected]> Co-authored-by: Marcin Maslanka <[email protected]>
Co-authored-by: Muon Shot <[email protected]>
Co-authored-by: Muon Shot <[email protected]>
Co-authored-by: Muon Shot <[email protected]>
* turn off sourceMap, use proper tsconfig when building ce, and fixed scraper imports * add type check to CI + fix type errors * add type check to CI + fix type errors + remove format in CE repo * set allowJs: false in tsconfig so sourceMap files don't interrupt ts-node * Make CI lint only the changes in the branch rather than everything * fix tsconfig + run prettier * Fixed incorrect path in test * Procfile fix * Prettier fix Co-authored-by: Muon Shot <[email protected]> Co-authored-by: zakhap <[email protected]> Co-authored-by: kassad <[email protected]>
* Fixed issue with proposal links * Fixed backend issue with proposal links * ran code through prettier * Fix syntax bug in getProfile route (Op.or was separate args, just 1) and pulled out map of ids for clarity. Use thread title in front-end instead of just 'thread' * Ran prettier * Made ThreadsController non-singleton Co-authored-by: zakhap <[email protected]> Co-authored-by: Muon Shot <[email protected]>
* start fix * fix * Remove construct imports * appease prettier Co-authored-by: Alex Young <[email protected]> Co-authored-by: Alex Young <[email protected]> Co-authored-by: zakhap <[email protected]> Co-authored-by: Muon Shot <[email protected]>
* deletions * migration * Transactionalize migration * Add awaits * fix prettier Co-authored-by: Muon Shot <[email protected]> Co-authored-by: zakhap <[email protected]>
* Fixed analytics route and view * Removed logging from communityStats queries Co-authored-by: Muon Shot <[email protected]>
* Added hash to invalidate cache for webpack bundle * Fixed bug in webpack config Co-authored-by: zakhap <[email protected]> Co-authored-by: Muon Shot <[email protected]>
* permissions hot fix * ran yarn format * fix permissions manager variable * jqeury where art thou * roles lint * fix * pretty Co-authored-by: Alex Young <[email protected]>
Co-authored-by: Alex Young <[email protected]>
* snapshot spaces decoupled * fix * Remove console logs, getVotes in utils no longer works (also issue on master) * prettier * pretty er * snapshot proposal creation fix * Add catch for unscoped pages * Fix Pretty 💅 Co-authored-by: Alex Young <[email protected]> Co-authored-by: Alex Young <[email protected]> Co-authored-by: zakhap <[email protected]> Co-authored-by: Muon Shot <[email protected]>
* Split out router related things to separate file * Moved init function to separate files. Also exported router and chain handlers * Fix imports * Conflicts * error fix * Fixed prettier issue * conflicts Co-authored-by: kassad <[email protected]> Co-authored-by: Muon Shot <[email protected]> Co-authored-by: zakhap <[email protected]>
Co-authored-by: Alex Young <[email protected]>
* bump node version to 18 * use one .nvmrc for the entire repo * performance markers * fix performance measure * update performance measurements * remove performance markers * memory config * increase max old space size for cw web server * script + env var for max-old-space-size * update env var names * script conditional checking * rename script, update procfile, add log to check node memory * script equation fix * echo ram limit on web dyno * switch to env var method * better heap stats + revert to script * updated script + package.json * multiplier Procfile test * test * enhanced script with proper memory checks * echo fix * switch from bc to awk for float calculations * quote echos * update memory multiplier in Procfile * testing edge cases * unquote * fix default 70% * update logs + procfile for testing * logging node size fix * test random strings as multipliers * set production values * 75% of memory default * one last test * remove multipliers for production * test with a bad file name in Procfile * test without script * test random script path again * test random script path again * default without proper filename * update default memory use to 0.85% + add memory startup logs to every service + update all Procfiles to handle incorrect script path * script DEFAULT_PERCENT + Procfile * test default 4096 * fix CE procfile * revert to 80% memory default * CI + type fixes * Fixed rabbitmq error * add capacitor files to .prettierignore * fix prettier Co-authored-by: Bob Webb <[email protected]> Co-authored-by: Jake Naviasky <[email protected]> Co-authored-by: Timothee Legros <[email protected]> Co-authored-by: kassad <[email protected]> Co-authored-by: Dillon Chen <[email protected]> Co-authored-by: dillchen <[email protected]>
* prettier updates * eslint updates save * save * save * save * update package.json * remove old procfiles + fix tsconfig * server tsconfig + global tsconfig * tsconfig inheritance from root tsconfig * update gitignore to ignore yarn-error.log * TBC tsconfig * check-types script in tbc package.json * remove test/tsconfig.test.json * save * update eslintrc * eslint fixes * stylelint fix * save * save * common-common eslint * common-common eslint fixes * common-common prettier config + call fix * common-common tsconfig updates * common-common prettier formatting * prettier + tsconfig fixes * fixed commonwealth types * CW eslint fixes part 1 * eslint config update * CW eslint fixes part 2 * chain-events eslint fixes part 1 * chain-events linter fixes * chain-events formatting * chain-events type fixes * chain-events eslint config + fixes * snapshot-listener prettier format * TBC prettier format * TBC eslint config + fixes * eslint config fixes * chain-events eslint fixes * eslint fixes * updated gh action to v16 * code quality gh action checks * fix cw tests * add install dependencies step to Code Quality Checks GH action * commonwealth package prettier format * fix CW type after prettier formatting * fix CW type after prettier formatting * run prettier * update actions to v3 * GH CI fix * upgrade to node v18 * update procfile with node options max_old_space_size * update CI to node v18 * Added eslint rule to enforce "import type" style imports when possible. * Resolved merge conflicts * Made web controllers dynamically import * Reverted node change * Added prettier fixes * downgraded CI to use node 14 * fixed eslint errors * Fixed remaining eslint warnings * Converted hardhat compiled types to use import type * Removed unused imports and added rule * Performed more code splitting * Fixed webpack issue * resolved merge conflicts * Fixed prettier warnings * Fixed eslint error * Code split terra imports * ran through prettier * ran through prettier and converted imports to typed imports * Moved css-minimizer-plugin to prod webpack config * Switched to lazy importing cosmos * Lazily loaded quill * Lazily loaded @snapshot-labs * Added deduplication plugin to webpack and split cosmos bundle * Lazy loaded most of ethereum * Lazy loaded solana * Replaced imports with type imports where possible * Fixed ethereum imports * Inline fonts * Removed web manifest * Fixed bugs * Ran prettier * fixed abi bug * Commented out cache groups that are eagerly loaded. Allows webpack to tree-shake imports --------- Co-authored-by: Timothee Legros <[email protected]>
* Split out router related things to separate file * Moved init function to separate files. Also exported router and chain handlers * Fix imports * Conflicts * error fix * Fixed prettier issue * Fixed imports that break webpack code splitting * Pretty * upgraded babel/preset-env --------- Co-authored-by: Marcin Maslanka <[email protected]> Co-authored-by: Muon Shot <[email protected]>
Co-authored-by: zakhap <[email protected]> Co-authored-by: Muon Shot <[email protected]> Co-authored-by: Jake Naviasky <[email protected]>
* Fixed bug in snapshot_utils * Fix snapshot global routes, regression in refactor --------- Co-authored-by: zakhap <[email protected]>
Co-authored-by: zakhap <[email protected]>
* deletions * prettier * conflicts * prettier * prettier again? * Ran prettier * Add migration, PR ready * Make Pretty * Deprecate addMember and remove dead code. --------- Co-authored-by: Muon Shot <[email protected]> Co-authored-by: kassad <[email protected]> Co-authored-by: zakhap <[email protected]> Co-authored-by: Jake Naviasky <[email protected]>
* pass 1 * cleanu * cleaner logic * dry * Add types to getDecimals input * Fix calls. --------- Co-authored-by: Alex Young <[email protected]> Co-authored-by: Alex Young <[email protected]> Co-authored-by: Jake Naviasky <[email protected]> Co-authored-by: Muon Shot <[email protected]> Co-authored-by: zakhap <[email protected]>
* prettier updates * eslint updates save * save * save * save * update package.json * remove old procfiles + fix tsconfig * server tsconfig + global tsconfig * tsconfig inheritance from root tsconfig * update gitignore to ignore yarn-error.log * TBC tsconfig * check-types script in tbc package.json * remove test/tsconfig.test.json * save * update eslintrc * eslint fixes * stylelint fix * save * save * common-common eslint * common-common eslint fixes * common-common prettier config + call fix * common-common tsconfig updates * common-common prettier formatting * prettier + tsconfig fixes * fixed commonwealth types * CW eslint fixes part 1 * eslint config update * CW eslint fixes part 2 * chain-events eslint fixes part 1 * chain-events linter fixes * chain-events formatting * chain-events type fixes * chain-events eslint config + fixes * snapshot-listener prettier format * TBC prettier format * TBC eslint config + fixes * eslint config fixes * chain-events eslint fixes * eslint fixes * updated gh action to v16 * code quality gh action checks * fix cw tests * add install dependencies step to Code Quality Checks GH action * commonwealth package prettier format * fix CW type after prettier formatting * fix CW type after prettier formatting * run prettier * update actions to v3 * GH CI fix * upgrade to node v18 * update procfile with node options max_old_space_size * update CI to node v18 * Added eslint rule to enforce "import type" style imports when possible. * Resolved merge conflicts * Made web controllers dynamically import * Reverted node change * Added prettier fixes * downgraded CI to use node 14 * fixed eslint errors * Fixed remaining eslint warnings * Converted hardhat compiled types to use import type * Removed unused imports and added rule * Performed more code splitting * Fixed webpack issue * resolved merge conflicts * Fixed prettier warnings * Fixed eslint error * Code split terra imports * ran through prettier * ran through prettier and converted imports to typed imports * Moved css-minimizer-plugin to prod webpack config * Switched to lazy importing cosmos * Lazily loaded quill * Lazily loaded @snapshot-labs * Added deduplication plugin to webpack and split cosmos bundle * Lazy loaded most of ethereum * Lazy loaded solana * Replaced imports with type imports where possible * Fixed ethereum imports * Inline fonts * Removed web manifest * Fixed bugs * Ran prettier * fixed abi bug * Commented out cache groups that are eagerly loaded. Allows webpack to tree-shake imports * split webpack vendor into chunks to improve caching * deduplicated dependencies * Removed unused dependencies --------- Co-authored-by: Timothee Legros <[email protected]>
* Added authorization to swagger docs * Changed endpoints of external api to allow us to setup cloudflare rule to cover all of them * swagger docs bug fix * test bug fix * Fixed missing import bug * Removed external PUT/POST/DELETE endpoints from swagger docs --------- Co-authored-by: Muon Shot <[email protected]>
* update edgeware url migration * format
Co-authored-by: Alex Young <[email protected]> Co-authored-by: Jake Naviasky <[email protected]> Co-authored-by: zakhap <[email protected]>
* autoupdate * options --------- Co-authored-by: Jake Naviasky <[email protected]>
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/kornelski/http-cache-semantics/releases) - [Commits](kornelski/http-cache-semantics@v4.1.0...v4.1.1) --- updated-dependencies: - dependency-name: http-cache-semantics dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Batch front-end analytics to make it more useful * Fix days fetched in route * Remove 'duration' * more cleanup * make pretty
* Stopped rocket loader from handling webpack bundles * moved html-webpack-inject-attributes-plugin from devDependency -> dependency * Ran prettier * Empty-Commit * Bump CI. * Empty-Commit --------- Co-authored-by: Dillon Chen <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jake Naviasky <[email protected]> Co-authored-by: zakhap <[email protected]>
) * Broke redirect loop between kong and cloudflare * Added cors support for swagger docs * Fixed unused import * Clean up redirect middleware block. * Run linter pass. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Muon Shot <[email protected]> Co-authored-by: Jake Naviasky <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.