tinyclone's People
tinyclone's Issues
In the info page the info box doesn't show the complete URL
In the info page the info box doesn't show the complete URL
Errors from the server don't mark the form as invalid
If we enter an invalid URL like http://www/google.com in the shortener form, the server returns an error. The error flash message appears but the form is not marked as invalid.
The bind converter function doesn't return null on empty strings
This is a frontend problem
The pages need scrollbars.
When we display long URL's the pages don't fit on the screen. They need scrollbars.
Clicking the link for info it will send us to the url instead of beeing intercepted by our application
when we create a new short url it will prompt us to visit /info/. If we click that link it will do a HTTP request to the server for that. IT should be intercepted by our javascript application and be handled by the router.
Server shortener breaks with error 500 if we use URL's over 255 characters
Example URL
The server crash with
[error] #PID<0.656.0> running TinyCloneWeb.Endpoint (connection #PID<0.654.0>, stream id 2) terminated
Server: localhost:4000 (http)
Request: POST /api/
** (exit) an exception was raised:
** (Postgrex.Error) ERROR 22001 (string_data_right_truncation) value too long for type character varying(255)
(ecto_sql) lib/ecto/adapters/sql.ex:629: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto) lib/ecto/repo/schema.ex:656: Ecto.Repo.Schema.apply/4
(ecto) lib/ecto/repo/schema.ex:262: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
(ecto) lib/ecto/multi.ex:585: Ecto.Multi.apply_operation/5
(elixir) lib/enum.ex:1948: Enum."-reduce/3-lists^foldl/2-0-"/3
(ecto) lib/ecto/multi.ex:569: anonymous fn/5 in Ecto.Multi.apply_operations/5
(ecto_sql) lib/ecto/adapters/sql.ex:903: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
(db_connection) lib/db_connection.ex:1427: DBConnection.run_transaction/4
(ecto) lib/ecto/repo/transaction.ex:20: Ecto.Repo.Transaction.transaction/4
(tinyclone) lib/tinyclone/shortener.ex:48: TinyClone.Shortener.shorten/2
(tinyclone) lib/tinyclone_web/resolvers/shortener.ex:5: TinyCloneWeb.Resolvers.Shortener.create_link/2
(absinthe) lib/absinthe/resolution.ex:206: Absinthe.Resolution.call/2
(absinthe) lib/absinthe/phase/document/execution/resolution.ex:209: Absinthe.Phase.Document.Execution.Resolution.reduce_resolution/1
(absinthe) lib/absinthe/phase/document/execution/resolution.ex:168: Absinthe.Phase.Document.Execution.Resolution.do_resolve_field/4
(absinthe) lib/absinthe/phase/document/execution/resolution.ex:153: Absinthe.Phase.Document.Execution.Resolution.do_resolve_fields/6
(absinthe) lib/absinthe/phase/document/execution/resolution.ex:72: Absinthe.Phase.Document.Execution.Resolution.walk_result/5
(absinthe) lib/absinthe/phase/document/execution/resolution.ex:53: Absinthe.Phase.Document.Execution.Resolution.perform_resolution/3
(absinthe) lib/absinthe/phase/document/execution/resolution.ex:24: Absinthe.Phase.Document.Execution.Resolution.resolve_current/3
(absinthe) lib/absinthe/pipeline.ex:274: Absinthe.Pipeline.run_phase/3
(absinthe_plug) lib/absinthe/plug.ex:421: Absinthe.Plug.run_query/4
Make the url customizable via environment variables
The web server URL should be customizable and the API must return that URL
Sending a query with empty string as custom identifier forces endless recursion
This must be fixed in backend. identifier is an empty string and it loops forever
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.